I want to have a button where the user inputs the date In the format, e.g. 22 Dec 2010 07:55 AM. But it would be great if it was in the format just 22 Dec 2010
It should be converted to time in this format 1292984705 while trying to process it in a mysql query.
mysql_query("SELECT * FROM order_history where date>'$time1' AND date<'$time2' ORDER By id DESC");