Dates, times, timezones...
| From: | Bruno B B Magalhães | Date: | Wed, 19 Jan 2005 13:04:06 +0000 |
| Subject: | Dates, times, timezones... | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-206740@lists.php.net to get a copy of this message | ||
Hi everybody,
How do you save the date and time in the database? Time stamp or date and time? GMT timezone or the server timezone, or maybe the "configs" timezone? And when displaying apply user timezone to the GMT date?
I think it's easier to save in timestamp format, so it's easy to convert to any format and to do math with dates Is this the way?
Regards,
Bruno B B Magalhaes