Skip to content

Instantly share code, notes, and snippets.

@ninetails
Created December 10, 2013 20:43
Show Gist options
  • Save ninetails/7899032 to your computer and use it in GitHub Desktop.
Save ninetails/7899032 to your computer and use it in GitHub Desktop.
PHP code to check if Daylight Saving Time is currently active
<?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