Charles,

Maybe a C or C++ function call sir?

Scott

On Sun, May 17, 2020 at 3:21 PM Charles Mills <[email protected]> wrote:

> The heck with it! I wanted it for the "Date:" line in an outgoing e-mail
> but
> it appears that SMTP provides a sent timestamp if I don't, so the heck with
> it!
>
> Thanks all for your efforts. Why should something so basic be so hard?
>
> Charles
>
>
> -----Original Message-----
> From: IBM Mainframe Discussion List [mailto:[email protected]] On
> Behalf Of Charles Mills
> Sent: Sunday, May 17, 2020 11:38 AM
> To: [email protected]
> Subject: How determine local time zone *name* in Rexx?
>
> 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).
>
> ----------------------------------------------------------------------
> 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

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to