|
-
Mar 5th, 2007, 08:03 AM
#1
Thread Starter
Hyperactive Member
Any changes needed in code with GetTimeZoneInformation and new DST?
Hello, the new DST started, do we have to make any changes to our code or will updating windows fix any problems of calling the API GetTimeZoneInformation?
-
Mar 5th, 2007, 08:06 AM
#2
Re: Any changes needed in code with GetTimeZoneInformation and new DST?
It isn't supposed to start until 3/11
Anyway, according to Microsoft, patching the computer should take care of everything.
-
Mar 5th, 2007, 08:26 AM
#3
Thread Starter
Hyperactive Member
Re: Any changes needed in code with GetTimeZoneInformation and new DST?
Thank you Hack.
I know Canada didn't make those DST changes, however the US did. But for the common time zones like Eastern, Central and Pacfic I wonder what will happen.
-
Mar 5th, 2007, 09:09 AM
#4
Thread Starter
Hyperactive Member
Re: Any changes needed in code with GetTimeZoneInformation and new DST?
I found this link:
http://msdn2.microsoft.com/en-us/vstudio/bb264729.aspx
It states
Q: I’m a C++ developer who uses the TZ environment variable, what does this mean to me?
A: For customers who rely on the TZ environment variable for the DST information, they will get outdated DST information for 2007 and beyond (i.e., they will get DST information according to the previous system). Microsoft is currently working on a fix for this issue and will post information about its availability on the Visual Studio Support page. In the interim, developers are advised to test their applications to determine the impact of the DST update on their applications. This issue is also fixed in Visual Studio code name “Orcas”.
Would that affect using GetTimeZoneInformation in Visual Basic 6.0?
-
Mar 5th, 2007, 06:24 PM
#5
Thread Starter
Hyperactive Member
Re: Any changes needed in code with GetTimeZoneInformation and new DST?
I have found that my application, Eastern Time Zone -5GMT, is returning March 4th 2007 and November 4th 2007 as the dates.
My code returns the same results as this link from vbnet:
http://vbnet.mvps.org/index.html?cod...neforecast.htm
However that is incorrect. Does that mean GetTimeZoneInformation does not work anymore?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|