View Problem

Parse a date and time from a string

Given the string "2008-05-06 13:29", parse it as a date representing 6th March, 2008 1:29:00pm in the local time zone.
ExpandDiskEdit
php
echo date("jS F, Y g:i:sa", strtotime("2008-05-06 13:29")); // small version

Submit a new solution for php
There are 20 other solutions in additional languages (clojure, cpp, csharp, erlang ...)