now that you know the difference, from gmt/utc use if or select based on the difference.
בתאריך יום א׳, 17 במאי 2020, 22:14, מאת Charles Mills <[email protected]>: > Where is the *name* in the d t output? > > IEE136I LOCAL: TIME=15.11.18 DATE=2020.138 UTC: TIME=19.11.18 > DATE=2020.138 > > Charles > > > -----Original Message----- > From: IBM Mainframe Discussion List [mailto:[email protected]] On > Behalf Of ITschak Mugzach > Sent: Sunday, May 17, 2020 12:10 PM > To: [email protected] > Subject: Re: How determine local time zone *name* in Rexx? > > True, but you know the offset. Btw, d t command tells you the utc. Use > console command > > ITschak > > בתאריך יום א׳, 17 במאי 2020, 22:06, מאת Charles Mills <[email protected]>: > > > That is the numeric offset, right, not the *name*? > > > > Charles > > > > > > -----Original Message----- > > From: IBM Mainframe Discussion List [mailto:[email protected]] On > > Behalf Of ITschak Mugzach > > Sent: Sunday, May 17, 2020 11:52 AM > > To: [email protected] > > Subject: Re: How determine local time zone *name* in Rexx? > > > > the answer is at CVTTZ. use STORAGE to fetch the info. see below offer, > > etc. > > ITschak > > > > 304 (130) SIGNED 4 CVTTZ - Difference between local time and UTC > > (Coordinated Universal Time) in binary units of 1.048576 seconds. > Contains > > the same value as CVTLDTOL. CVTLDTO (which contains CVTLDTOL) has this > > difference to a finer degree of accuracy. > > > > > > ITschak Mugzach > > *|** IronSphere Platform* *|* *Information Security Continuous Monitoring > > for z/OS, x/Linux & IBM I **| z/VM comming son * > > > > > > > > > > On Sun, May 17, 2020 at 9:46 PM scott Ford <[email protected]> wrote: > > > > > Charles, > > > > > > A thought, issue ‘D IPLINFO’ before set Outtrap on with a stem variable > > > After command set outtrap off and the do a parse of the stem ... > > > > > > Scott > > > > > > On Sun, May 17, 2020 at 2:42 PM scott Ford <[email protected]> wrote: > > > > > > > Charles, > > > > > > > > I just looked through the TSO Rexx manual, I assumed you did, I > didn’t > > > see > > > > Timezone. Maybe a TSO function ? > > > > > > > > Scott > > > > > > > > On Sun, May 17, 2020 at 2:38 PM Charles Mills <[email protected]> > > wrote: > > > > > > > >> I want to get the 3-or-so character *name* of the local time zone in > > > Rexx. > > > >> What is the most straightforward way? > > > >> > > > >> I get lots of hits that explain how to calculate the local offset > from > > > >> GMT, > > > >> but what I need is the name such as 'EST' or 'PDT' (and yes, I know > > the > > > >> limitations thereof, and that they are not necessarily unique, etc., > > > >> etc.). > > > >> I just want to get it. I would prefer not to have a table and > > calculate > > > it > > > >> from the offset. > > > >> > > > >> Environment: Rexx running in an STC under TSO (IRXEXEC). > > > >> > > > >> Thanks, > > > >> > > > >> Charles > > > >> > > > >> > ---------------------------------------------------------------------- > > > >> For IBM-MAIN subscribe / signoff / archive access instructions, > > > >> send email to [email protected] with the message: INFO > > IBM-MAIN > > > >> > > > > -- > > > > Scott Ford > > > > IDMWORKS > > > > z/OS Development > > > > > > > -- > > > Scott Ford > > > IDMWORKS > > > z/OS Development > > > > > > ---------------------------------------------------------------------- > > > For IBM-MAIN subscribe / signoff / archive access instructions, > > > send email to [email protected] with the message: INFO IBM-MAIN > > > > > > > ---------------------------------------------------------------------- > > For IBM-MAIN subscribe / signoff / archive access instructions, > > send email to [email protected] with the message: INFO IBM-MAIN > > > > ---------------------------------------------------------------------- > > For IBM-MAIN subscribe / signoff / archive access instructions, > > send email to [email protected] with the message: INFO IBM-MAIN > > > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to [email protected] with the message: INFO IBM-MAIN > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to [email protected] with the message: INFO IBM-MAIN > ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
