note 101004 deleted from function.fputs by danbrown
| From: | danbrown@php.net | Date: | Fri, 19 Nov 2010 17:40:56 +0000 |
| Subject: | note 101004 deleted from function.fputs by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-174208@lists.php.net to get a copy of this message | ||
Note Submitter: gerben at gerbs dot net
----
Regarding the logging examples below:
If you log dates and times, it's easier to just use GMT. That makes your software ready to use
in other timezones and it's easier if you need to parse your log in the future and you need to
convert dates and times back to for example unix timestamps. You never have to worry about daylight
saving time. Always use GMT in databases, log files, etc.