Skip navigation

Script Reminds You When Daylight Saving Time Starts and Ends

For those of you who live in the United States or Canada, daylight saving time ends this Sunday, so don't forget to set your clocks back an hour. I hope you'll be able to sleep or relax and not have to work that extra hour.

If you find that it's hard to remember the dates in which we gain an hour each fall and lose an hour each spring, you'll want to check out Jim Turner's script GetDLSDates.vbs. By simply double-clicking this script, you can get a reminder of when daylight saving time begins and ends in the current year. Without having to change any code, this script will work the same year after year.

To download GetDLSDates.vbs and find out how it uses Windows Management Instrumentation's (WMI's) Win32_TimeZone class to work, read Jim's article "Don't Let Daylight Saving Time Sneak Up on You." I've opened up this article for public viewing through December 6. If you enjoy reading this article, you can get more of this type of content by subscribing to Scripting Pro VIP.

TAGS: Windows 7/8
Hide comments


  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.