PHP/MySQL -- Date/Time Confusion

From: Date: Fri, 12 Jul 2002 21:06:40 +0000
Subject: PHP/MySQL -- Date/Time Confusion
Groups: php.general 
Request: Send a blank email to php-general+get-107434@lists.php.net to get a copy of this message
Which method is the best way to store date/time in MySQL and then which PHP command is the best to use to convert that date to something useful? I'm having a difficult time figuring out how to reconcile the date in MySQL so it works with PHP's various date commands, like getdate(). Any suggestions? I'll mostly need to compared dates/times of different records and then extract parts of the date for displaying on the screen. Thanks! Monty

« previous php.general (#107434) next »