Script Reminds You When Daylight Saving Time Starts and Ends

If it's hard to remember the dates in which we gain an hour each fall and lose an hour each spring, check out 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.

Karen Bemowski

November 1, 2007

1 Min Read
ITPro Today logo in a gray background | ITPro Today

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.

Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.

You May Also Like