Subscribe to Windows IT Pro
October 09, 2006 12:00 AM

Don't Let Daylight Saving Time Sneak Up on You

Script determines when those fateful Sundays occur
Windows IT Pro
InstantDoc ID #93485
Rating: (1)
Downloads
93485.zip

Don't Be Caught Off Guard
With GetDLSDates.vbs, you'll never get caught off guard when time springs ahead or falls back an hour. And with a little tweaking, you can use the script's DLS function to return other useful dates. For example, as I'll show you in a future article, you can use it to return the date when Microsoft releases its patches by passing the second Tuesday of a month to the function. You might also use the Bias and DaylightBias properties to offset date values that are in the GMT format in order to get more accurate date and time return values. For more information about the Win32_Time-Zone class properties, see Win32 _TimeZone Web page at http://msdn.microsoft.com/library/default.asp?url =/library/en-us/ wmisdk/wmi/ win32_timezone.asp.

Statement of Ownership

Statement of Ownership Management and Circulation for WINDOWS SCRIPTING SOLUTIONS as required by 39 U.S.C. 3685; WINDOWS SCRIPTING SOLUTIONS, publication no. 1537-4483, filed October 1, 2006, to publish twelve monthly issues each year for an annual subscription price of $129.00. The mailing address of the office of publication, the headquarters of general business of Kim Paulsen, Publisher; Karen Forster, Editorial and Strategy Director; is 221 E. 29th St., Loveland, CO 80538. The owner is Penton Media, Inc., 1300 E. 9th St., Cleveland, OH 44114-2543. There are no known bondholders, mortgages, or other security holders owning or holding one percent or more of the total amount of bonds, mortgages, or other securities. The average number of copies of each issue published during the twelve months preceding the filing date include: total number of copies (2,385); mail subscription (936); sales through dealers and carriers, street vendors, and counter sales (476); other classes mailed through the USPS (105); total paid and/or requested circulation (1,517); free distribution by mail carrier or other means and samples, complimentary, and other free copies (421); total distribution (1,938); copies not distributed (447) for a total of (2,385) copies. The actual number of copies of single issues published nearest to the filing date include: total number of copies (2,102); mail subscription (1,009); sales through dealers and carriers, street vendors, and counter sales (485); other classes mailed through the USPS (79); total paid and/or requested circulation (1,573); free distribution by mail carrier or other means and samples, complimentary and other free copies (36); total distribution (1,609); copies not distributed (493) for a total of (2,102) copies.

I certify that the statements made by me above are correct and complete:
Kim Paulsen,
Publisher

Related Content:

ARTICLE TOOLS

Comments
  • johnnypower
    5 years ago
    Nov 04, 2007

    Does this work for other timezones ?
    From skimming through the article I think it does as it's using an offset of GMt but just wanted to confirm.
    Thanks,
    Johnny

You must log on before posting a comment.

Are you a new visitor? Register Here

advertisement

advertisement

Windows is a trademark of the Microsoft group of companies. Windows IT Pro is used by Penton Media Inc. under license from owner.