1. Home
  2. Computing & Technology
  3. PHP / MySQL
photo of Angela Bradley
Angela's PHP / MySQL Blog

By Angela Bradley, About.com Guide to PHP / MySQL

Daylight Savings and the Date Function

Sunday April 2, 2006
If you live in an area that observes daylight savings time, you may want to adjust the clocks on your website accordingly. This can be done in the in the date function using the I (capitol i) setting. Set it to 1 when entering daylight savings and to 0 when leaving it.
Comments
December 6, 2006 at 7:22 am
(1) Mathias says:

I am a bit confused about the last line you wrote here.
“Set it to 1 when entering daylight savings and to 0 when leaving it.”
How do I do that?

Leave a Comment

Line and paragraph breaks are automatic. Some HTML allowed: <a href="" title="">, <b>, <i>, <strike>

Explore PHP / MySQL
About.com Special Features

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

Easy ways to connect two computers for networking purposes. More >

  1. Home
  2. Computing & Technology
  3. PHP / MySQL

©2009 About.com, a part of The New York Times Company.

All rights reserved.