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 it's defined. If you want a time in the current timezone, you have to feed the (absolute, GMT) timestamp through something that knows how to adjust for timezones, such as date(). Cheers! Mike --------------------------------------------------------------------- Mike Ford, Electronic Information Services Adviser, Learning Support Services, Learning & Information Services, JG125, James Graham Building, Leeds Metropolitan University, Headingley Campus, LEEDS, LS6 3QS, United Kingdom Email: [EMAIL PROTECTED] Tel: +44 113 283 2600 extn 4730 Fax: +44 113 283 3211 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php