Check to see if a date/time is during Daylight Savings Time, or Standard Time
Category:ASP, HTML and XML
I needed a way using ASP to check a datetime value to see if it is during Daylight Savings or Standard time so that I could correctly show the timezone (standard or daylight), or accurately calculate the GMT value for the datetime. I wrote this function to help me accomplish this. It is written in vbscript for ASP, but could easily be converted to VB, VB.Net
Instructions: Copy the declarations and code below and paste directly into your VB project.