Archive for September, 2010

How to format Date & Time input from a php form into MySQL UNIX datetime format

If you’re building any type of app that requires dates and times you’ll need to know how to convert user entered data into the MySQL datetime format.

The datetime format is: yyyy/mm/dd hh:mm:ss

Note that the time portion is 24hr time and not 12 hour time.

Read the rest of this entry »