note 8991 added to date
| From: | Unknown Sender | Date: | Tue, 10 Oct 2000 12:38:21 +0000 |
| Subject: | note 8991 added to date | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-6300@lists.php.net to get a copy of this message | ||
Under Solaris (and possibly other systems), the function call
date("Z");
will return positive offsets only. If you are in CST (-6), it will return 21600 instead of -21600.
It has to do with Solaris's time structure not having "tm_gmtoff", so it just assumes
that it's positive.
I am unable to find a way to figure out if the time zone on a Solaris machine should be inverted
instead of left alone? I am looking for a way to do it without the user setting a variable, without
recompiling PHP, and without too much mess.
http://www.php.net/manual/function.date.php