You might want to look at the setlocale function: http://www.php.net/manual/en/function.setlocale.php
and couple that with something like: $newtime = gmstrftime("%H:%M:%S", localtime())"
Bruce Levick wrote:
I guess I could use Javascript to get my local time which will populate an input field to be inserted into a database.
Thats if there is no simple answer on the PHP front.
-----Original Message----- From: dwalker [mailto:dwalker@healthyproductsplus.com] Sent: Sunday, April 13, 2003 4:04 PM To: Bruce Levick; php-db@lists.php.net; Derek J. Belrose Subject: Re: PDT to EST
Is this strictly a server side project?
-----Original Message----- From: Bruce Levick <bruce@vivamotion.com> To: php-db@lists.php.net <php-db@lists.php.net>; Derek J. Belrose <derek@omegabyte.com> Date: Sunday, April 13, 2003 1:38 AM Subject: RE: PDT to EST
taking the current PDT time to convert it to EST.Is
-----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.
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