I have a month value (1-12), day value (1-31), and a year value (2010,2011,2012). I also have a hour value and a minute value.
How can I give this to strtotime()>
strtotime()>
Use it like this strtotime("YYYY-mm-DD HH:MM AM/PM"):
strtotime("YYYY-mm-DD HH:MM AM/PM")
echo date("d F Y h:i:s A", strtotime("2011-06-01 11:15 PM")) . "\n";
01 June 2011 11:15:00 PM