×

Good News Everybody!

The new search engine is LIVE!

Please report any problems to david (at) midrange.com.




thanks for all the responses. filed under brain fart.

On Tue, Mar 28, 2017 at 7:28 AM, Rob Berendt <rob@xxxxxxxxx> wrote:

For those observing Eastern Daylight Time the current UTC offset is -4
hours, not -5.
https://time.is/UTC
11:16 - 4 hours = 7:16. Remember an odd number minus an even number is an
odd number.

If you were still on Eastern Standard Time then, yes, your UTC offset is
-5. However, I'm in Indiana and I thought we were the last hold outs and
we started observing daylight savings time a few years back.

Now, don't compare to Windows as that isn't really an operating system.
They will report the UTC as -5 but they leave it up to you to know whether
or not you're currently observing daylight savings time.

System value . . . . . : QTIMZON
Description . . . . . : Time zone
Time zone . . . . . . : QN0500EST3
Associated settings:
Offset . . . . . : -04:00
Full name . . . : Eastern Daylight Time
Abbreviated name : EDT

IBM i 7.3


Rob Berendt
--
IBM Certified System Administrator - IBM i 6.1
Group Dekko
Dept 1600
Mail to: 2505 Dekko Drive
Garrett, IN 46738
Ship to: Dock 108
6928N 400E
Kendallville, IN 46755
http://www.dekko.com





From: rick baird <rick.baird@xxxxxxxxx>
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>
Date: 03/27/2017 06:49 PM
Subject: QWCRTVTZ givng wrong data for time zone.
Sent by: "MIDRANGE-L" <midrange-l-bounces@xxxxxxxxxxxx>



Hey all,

We just upgraded to V7R1M0 and the time description API QWCRTVTZ is giving
the wrong data for EST - see below

EVAL tzds
TZDS.ZONE = 'QN0500EST '
TZDS.SYSZONE = '1'
TZDS.SUPDST = '1'
TZDS.UTCOFFSET = -300
TZDS.STDABBR = 'EST '
TZDS.STDFULL = 'Eastern Standard Time
TZDS.DSTABBR = 'EDT '
TZDS.DSTFULL = 'Eastern Daylight Time
TZDS.STDMSGID = 'CPX091E'
TZDS.DSTMSGID = 'CPX091F'
TZDS.MSGFILE = 'QCPFMSG '
TZDS.MSGFLIB = '*LIBL '
TZDS.DSTSTRMON = 04.
TZDS.DSTSTRDOWK = 7
TZDS.DSTSTRRDMO = '1'
TZDS.DSTSTRTIME = 020000.
TZDS.DSTENDMON = 10.
TZDS.DSTENDDOWK = 7.
TZDS.DSTENDRDMO = 'L'
TZDS.DSTENDTIME = 020000.

QN0500EST is Eastern Standard Time, so I know I'm getting the proper zone.

Offset should be -5, not -3.
The DST start month is 3, not 4.
day of week is right at 7, but day of month should be 2 (second sunday)
didn't check for the DST end dates, but I'm guessing they're wrong too.

I double checked my data structure against the V7 api finder and it's
good. I can't guarantee it worked just before our upgrade, but it's not
working now.

Any ideas? thanks in advance.
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.

Please contact support@xxxxxxxxxxxx for any subscription related
questions.

Help support midrange.com by shopping at amazon.com with our affiliate
link: http://amzn.to/2dEadiD


--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.

Please contact support@xxxxxxxxxxxx for any subscription related
questions.

Help support midrange.com by shopping at amazon.com with our affiliate
link: http://amzn.to/2dEadiD


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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

This mailing list archive is Copyright 1997-2026 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.