|
Posted by Erwin Moller on 11/23/07 12:15
mkneze@gmail.com wrote:
> Hi guys,
>
> Is it somehow possible to disable DST in date() function? I am
> currently in UTC+1 timezone which has DST enabled but data i am
> processing are throughout the year in UTC+1 without DST. So, how can i
> disable automatic DST processing of date() function?
>
> Thanks in advance!
Hi,
Not 100% sure, but isn't this function made for that?
date_default_timezone_set()
http://nl2.php.net/manual/en/function.date-default-timezone-set.php
PHP5 and higher only.
Read the usercontributed notes for hints/links to solution in PHP4
Hope that helps.
Regards,
Erwin Moller
Navigation:
[Reply to this message]
|