I need to get the date/time format produced from a date / picker which currently outputs in this format 06-15-2011 09:35:32
The format I require is the same as what get produced from the function time() = 1308126939
I have look everywhere for this answer and cannot find.
use the strtotime function
Good luck!