Re: timestamp according to timezone?
| From: | Jason Wong | Date: | Thu, 12 Aug 2004 13:26:03 +0000 |
| Subject: | Re: timestamp according to timezone? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-193560@lists.php.net to get a copy of this message | ||
On Thursday 12 August 2004 21:06, Justin French wrote:
> How can I get a unix timestamp of the current timezone, rather than GMT
> as supplied by time()?
What are you trying to solve? The unix timestamp is based off GMT (UTC). All
calculations involving such timestamps will be assuming GMT. Thus what you're
asking for doesn't make sense (not to me anyway).
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
------------------------------------------
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
------------------------------------------
/*
Be different: conform.
*/