timezone problem
| From: | Php User | Date: | Sat, 15 Jul 2000 10:56:48 +0000 |
| Subject: | timezone problem | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-6735@lists.php.net to get a copy of this message | ||
when I use strtotime() to convert a postgre timestamp to a UNIX timestamp, the
milliseconds returned always have 8 hours added into it (my timezone is Taiwan
which is eight hours away from GMT). Then I try the following:
strtotime(date("l, F j, Y g:ia T"))
This date() can return the correct date for today but the UNIX timestamp
returned by strtotime is different from the one returned by microtime().
What have I done wrong?