Monthly Archives: October 2009

Getting a Date with PHP & MySQL

Recently I was working on an event management project in PHP & MySQL which made me realize that there must be a good solution for interacting with dates and times. Not just using PHP’s date format and storing it as character data in MySQL, and not having to parse out MySQL’s DATETIME format in PHP. Both PHP and MySQL have built-in functions for dealing with dates, it seems silly to have to give up one set of functionality for the other.

Posted in Article, PHP | Leave a comment