$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: 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:
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??
-- 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.