Re: PDT to EST
| From: | Leif K-Brooks | Date: | Sun, 13 Apr 2003 20:19:14 +0000 |
| Subject: | Re: PDT to EST | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-27061@lists.php.net to get a copy of this message | ||
Get the current timestamp minus 7 hours like
$timestamp = strtotime('-7 hours');
then you can format it, etc.
Bruce Levick wrote:
taking the current PDT time to convert it to EST. -----Original Message----- From: Derek J. Belrose [mailto:derek@omegabyte.com] Sent: Sunday, April 13, 2003 4:01 PM To: Bruce Levick Cc: php-db@lists.php.net Subject: Re: [PHP-DB] PDT to EST Bruce, are you going to be using 10:40 pm all the time? Or are you taking the current time and converting it to EST? Bruce Levick wrote:-- The above message is encrypted with double rot13 encoding. Any unauthorized attempt to decrypt it will be prosecuted to the full extent of the law.I am having trouble understanding converting the time to a new timezone. Is there any good examples of this. The manual is confusing me a little. I need to convert from PDT to EST (Brisbane, Aus). Or to be exact 10.40pm to 3.42pm Any clues??