× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Hi Don,

I *think* that you also need to know if daylight saving was in effect as
at the original date. I could easily be wrong though as my head starts to
hurt when I think about it.

As for being able to tell whether daylight saving is currently in effect,
isn't that not needed, as if the time zone for your IBM I is set correctly
you can just apply the QUTCOFFSET (currently +11:00 here in Sydney) which
is derived from the QTIMZON system value which ere is QP1000AES3 or the
latest Australian Eastern Standard time time zone.
QP1000AES3 timezone has an offset of +10:00, but has DST defined as
starting October 1 02:00:00, ending April 1 03:00:00 with a timeshift of
60, explaining the current QUTCOFFSET of +11:00 (+10:00 add 60 minutes as
we are between the dates for DST).

Hopefully this helps.

Regards,

Kevin Wright

-----Original Message-----
From: MIDRANGE-L <midrange-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of Don
Brown via MIDRANGE-L
Sent: Wednesday, 30 October 2019 3:28 PM
To: midrange-l@xxxxxxxxxxxxxxxxxx
Cc: Don Brown <DBrown@xxxxxxxxxx>
Subject: Daylight saving time - how to know if in effect

We integrate with a system that stores timestamps in GMT time and when we
retrieve data we adjust the date by the offset for the area.

So when the IBMi adjusts the time for daylight saving this is throwing our

adjustment off by one hour.

What I am wondering is there any system value or similar that is set to
indicate the system is now in daylight saving time ?

What I am looking for is a program option to determine if daylight saving
is currently in effect.

We are on V7R3

Thanks



Don Brown


______________________________________________________________________
This email has been scanned for computer viruses. Although MSD has taken
reasonable precautions to ensure no viruses are present in this email, MSD
cannot accept responsibility for any loss or damage arising from the use
of this email or attachments.
______________________________________________________________________

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 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 [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.