Finding if it is daylight savings

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
like_duh44
Forum Commoner
Posts: 63
Joined: Sat Jul 26, 2003 6:57 pm

Finding if it is daylight savings

Post by like_duh44 »

Is there any code that would allow me to find out if it is currently daylight savings? If not, no worry, because I guess I could always make tons of ifs to find out if its the correct month and day for it, but that would be long and tedious, thats why i'm posting this. Any help is appreciated!
?>
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Post by volka »

take a look at http://php.net/date
search for I (capital i)
like_duh44
Forum Commoner
Posts: 63
Joined: Sat Jul 26, 2003 6:57 pm

Post by like_duh44 »

Thank you very much.
Post Reply