PHP Format Any Time/Date for MySQL
April 20th, 2005 Many people find the act of formatting a date or time for input into a MySQL database tedious. It's actually very simple. Here is a function that will take a timestamp value such as time() or a human readable string and format it for MySQL. MySQL format is: 'YYYY-MM-DD HH:MM:SS'
Read the rest of this entry »
Categories
Popular Posts
RSS Feeds
Archives