RE: [PHP] literal dates

2004-09-03 Thread Ford, Mike
On 03 September 2004 06:46, Justin French wrote: > If I use strtotime(), I'm handed back a GMT timestamp, > whereas I need a > *local* timestamp. No such thing as a *local* timestamp. UNIX timestamps are in GMT by definition -- it's the functions that work with them that do the timezone adjustm

[PHP] literal dates

2004-09-02 Thread Justin French
Hi all, I'm really sure how to tackle this. Part of a CMS I'm building is an events calendar. The events in question can be in any part of the world (in any timezone) and the date & time the user enters for the event is considered to be the local time of that event. So when I enter 2004-09-03