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



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.

TRUE DST is in effect

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...


This Page Last Downloaded or Refreshed: 05/18/2025 20:16:08
Bookmark and Share
Registered® Trademark™ and Copyright© 1973 - 2025 CSG, Computer Support Group, Inc. and CSGNetwork.Com All Rights Reserved