Re: PDT to EST
| From: | Rolf Brusletto | Date: | Sun, 13 Apr 2003 08:05:16 +0000 |
| Subject: | Re: PDT to EST | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-143648@lists.php.net to get a copy of this message | ||
*This message was transferred with a trial version of CommuniGate(tm) Pro*
Heres my simple solution if you want a timestamp returned. I use this all
the time with no problems, also if needed I have a script to determine,
whether one or two hours need to be added due to daylight savings(there are
some places in the states, that do not observe daylight savings). Enjoy!
http://www.phpexamples.net/modules.php?name=Code_Exchange&func=viewSnippet&s
nippetId=20
Rolf Brusletto
rolf@phpExamples.net
PHP/MySQL Coder
Security Admin
http://www.phpExamples.net
----- Original Message -----
From: "Bruce Levick" <bruce@vivamotion.com>
To: <php-db@lists.php.net>; "Derek J. Belrose" <derek@omegabyte.com>
Sent: Saturday, April 12, 2003 11:34 PM
Subject: RE: [PHP-DB] PDT to EST
> *This message was transferred with a trial version of CommuniGate(tm) Pro*
> 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:
>
> >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??
> >
> >
> >
> >
>
>
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>