RE: [PHP] timestamp according to timezone?

2004-08-12 Thread Ford, Mike [LSS]
On 12 August 2004 14:07, Justin French wrote: Hi, How can I get a unix timestamp of the current timezone, rather than GMT as supplied by time()? Sorry, but this question makes no sense to me. A timestamp is absolute and is always in GMT, taking no account of timezones -- that's just the way

Re: [PHP] timestamp according to timezone?

2004-08-12 Thread Jason Wong
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

Re: [PHP] timestamp according to timezone?

2004-08-12 Thread Justin French
On 12/08/2004, at 11:26 PM, Jason Wong wrote: 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

Re: [PHP] timestamp according to timezone?

2004-08-12 Thread Jason Wong
On Thursday 12 August 2004 22:11, Justin French wrote: You're absolutely right, it doesn't make sense, and even though it was less than an hour ago, I can't really remember how I decided I needed such a thing. It's part of an endless loop of confusion I currently have with timezones for a