You are here: Re: Is it Daylight Savings Time ? « PHP Programming Language « IT news, forums, messages
Re: Is it Daylight Savings Time ?

Posted by bill on 10/26/07 13:26

AnrDaemon wrote:
> Greetings, Jeremy.
> In reply to Your message dated Friday, October 26, 2007, 04:43:12,
>
> J> if(date("I") == 1)
> J> {
> J> //daylight saving time
> J> }
> J> else
> J> {
> J> //not daylight saving time
> J> }
>
> J> Whether this is accurate (in light of the recent change in the
> J> definition of DST) is up to your server.
>
> Don't forget to set date.timezone to client timezone before checking that.
>
>
yeah, that is the problem, my ISP will only allow setting the
timezone offset, not the timezone.

I'll get around that.

 

Navigation:

[Reply to this 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

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