How about a combination of the Retrieve System Values (QWCRSVAL) API to obtain system value QTIMZON and the Retrieve Time Zone Description (QWCRTVTZ) API to obtain the time zone's description? The Retrieve Time Zone Description (QWCRTVTZ) API provides DST start and end dates/times.
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of James Lampert
Sent: Monday, March 12, 2012 11:14 AM
To: Midrange Systems Technical Discussion
Subject: How can a program find out whether a system is on Daylight Saving Time?
The subject line says it all. My Google Calendar Interface has started blowing up, and I've determined that it's happening because the C time() function (which is used in generation of the digital signature for the web service request) is now returning a time number that is one hour in the future. And the Google Calendar web services are rejecting it.
If I run the request out of OAuth Playground, the time number is 3600 seconds earlier than what I get on the 400, and if, in the debugger, I manually subtract 3600 seconds from the time number, it works just fine, which makes the above diagnosis look pretty conclusive.
This thread ...
RE: How can a program find out whether a system is on Daylight Saving Time?, (continued)
This mailing list archive is Copyright 1997-2019 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact