Reply to Re: PHP and daylight saving time

Your name:

Reply:


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

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация