On Fri, 2005-12-02 at 15:40 +1100, Peter Rundle wrote: > "strtotime" doesn't have a timezone argument. Does anyone have a good > alternative? > > "2005-10-30 01:59+0" didn't work btw. > > (Php 5.0.4 on FC4 if that's of importance)
PHP5 apparently has a date_default_timezone_set()[1] function. Haven't tested it though; I've only got 4.4.0 here. [1] http://www.php.net/manual/en/function.date-default-timezone-set.php -- Pete -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
