DST Boolean Quick Test
CSGNetwork FREE Source Code, Javascript Source, and Code Snippets!
CSGNetwork Custom Search
     Bookmark and Share
Top Free Apps

Right click this window and select "view source" in order to copy the source for this script.

This script returns a Boolean logical "true" if DST is in effect and a Boolean logical "false" if not. This is valid for the "new DST schedule" 2007 and up DST times in the US. Those countries and areas beginning and ending at different times may have to adapt slightly.

DST Boolean Quick Test

This routine to determine DST tests for the potential of DST by checking a time of the year that is typically in DST and another that is not. If the date you run this script falls between, a logical "true" is returned indicating that DST is in effect. The test in bold is the output of the script. View the source...

Bookmark and Share
Registered® Trademark™ and Copyrightę 1973 - CSG, Computer Support Group, Inc. and CSGNetwork.Com All Rights Reserved