Not to take anything away from the solutions already offered, but wouldn't a Rexx exec (or pipe) that reads the SYSTEM CONFIG file be a single-source-data solution? I'd rather depend on the accuracy of an IBM-supplied file than to worry about making sure my (or someone else's) file keeps up with the Congress-critters meddling.

Besides, it's a SMOP.

-Chip-

On 3/3/11 14:36 Michael Coffin said:
Hi Folks,

Does anybody have a program or know of a way to determine if a given date falls within a Daylight Savings Time range? The CP QUERY TIMEZONE command will show you defined timezones, and which one is active – but not the start/end dates of the zone.

I’m trying to avoid coding up a hard-coded table in a REXX exec – but can’t for the life of me figure out any other way to do it, and even though the zones are coded in SYSTEM CONFIG I can’t find any way to query them in VM.

Ideally, I need to do something like: DST=IsThisDST(mm/dd/yy) – and I only really care about the calendar date (even though DST doesn’t normally “kick in” until 2:00am).

-Mike

Reply via email to