Created
December 10, 2013 20:43
-
-
Save ninetails/7899032 to your computer and use it in GitHub Desktop.
PHP code to check if Daylight Saving Time is currently active
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
1 === intval(date('I', time()), 10) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment