Offset, yes, but not zone name.

--
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3

________________________________________
From: IBM Mainframe Discussion List [[email protected]] on behalf of 
David Crayford [[email protected]]
Sent: Monday, May 18, 2020 8:45 AM
To: [email protected]
Subject: Re: How determine local time zone *name* in Rexx?

On 2020-05-18 8:40 PM, Barkow, Eileen wrote:
> Java has several classes and API methods to get the time zone.
> Where does the JVM determine this info -is is not from the Unix settings?

Yes, but you better make sure the TZ, _TZ variables are set correctly!

ISO-8601 flattens this issue somewhat as the timezone etc is part of the
timestamp.

https://secure-web.cisco.com/1hpMnzj2XyT5IvrY2p7oblFjNp5LWdgSOOvY3T-8j7xY-pVqtX0sXOKHJ4fdmOyiMw1TveYOvqkKDA4jm9_VYKOdIP5QDZ49Cc962LEk76FoqhoZkZ8wBbFk3DdkjC3jhlTN4oh8Cctu_PtXtV0ReHAHxH2f9f8oSxur7rChoQ1N9NO1QKFAN1yWN0FmAx6yZIBMBL4Y443vQzwruSTKUQXvJ_KdsYZBd96XgkuEI0k_kiChN7HPq5we62fW4BkL1CUmZUl5oT4Uy5TuW-69GZiJ631zl4AguT1FwXRspZgc7MB5tgjC1QOplvyWqxcZaZ53sgmZl-brLorV1rfxAuBPzgdWPFyegja0SJwchManE2VxTpA3cGNmoJhTkTsmEKucFidFc86B5xtO8pZ-Df03CGCN5BdQ6llweiG0oevoJHrzF4an9cOcRHiqn4wci/https%3A%2F%2Fen.wikipedia.org%2Fwiki%2FISO_8601


>
> -----Original Message-----
> From: IBM Mainframe Discussion List <[email protected]> On Behalf Of 
> ITschak Mugzach
> Sent: Monday, May 18, 2020 8:33 AM
> To: [email protected]
> Subject: Re: How determine local time zone *name* in Rexx?
>
> But make sure that uss & mvs clocks are the same.
>
> בתאריך יום ב׳, 18 במאי 2020, 15:28, מאת Steve Smith ‏<[email protected]>:
>
>> I forgot about the IANA Time-Zone database.  That does seem to be the
>> standard.
>>
>> I don't see that Unix has anything to do with it.
>>
>> sas
>>
>> On Mon, May 18, 2020 at 1:41 AM Mike Schwab <[email protected]>
>> wrote:
>>
>>> East Bank Palestinians and Israelites use different times for the
>>> same location Line Islands in Kiribati uses +14 time zone, same time
>>> one day earlier as -10 Hawaii.
>>> And agree the Unix time zone database is a great idea.
>>>
>>> On Mon, May 18, 2020 at 2:58 AM Paul Gilmartin
>>> <[email protected]> wrote:
>>>> On Mon, 18 May 2020 01:58:01 +0000, Mike Schwab wrote:
>>>>
>>>>> Yep.  You almost need a country code, and for multi zone
>>>>> countries a zone indicator.  Especially since a shared time zone
>>>>> might have different DST / ST switch dates in different countries.
>>>>>
>>>> And it's up to the recipient to unwind the process?
>>>>
>>>> That's the reason that SMTP date headers specify simply "+/-hhmm"
>>>> (Which might be +0000 for UTC.)
>>>>
>>>> Do you want to know the physical time the message originated, or
>>>> the solar illumination at that point in spacetime?
>>>>
>>>> Otherwise, the Truth (which z/OS shuns) is:
>>>>
>>>> https://gcc02.safelinks.protection.outlook.com/?url=https%3A%2F%2F
>>>> http://secure-web.cisco.com/1Jxf4fiKfCfH--vSNum_xjdc4fdWxS8_u14vieP2-jvMOPtBGUnXjmqYvtinKxRTmV2xuhv1ZHPOeQRWV6YSKbpyZbx1wETP30dfATspjPld-9gYVrPOP8OyZrJaDWP578XF4EQiTeO5QEJcocqBG3bDpWZaQQPsshu1ODarN3Y9d2IeHwZmOWbmRgdxE1ZGwRvdCaCr4Sp4qr7FVzRlvOn2Ygdr_1Ydbhmm2EYwlyAb_FOasADS8DvpR5aAmDwsBNSVqKFrvGRjasbb0hyf6CqJTgRJAgGGCZkxktcwkPIzST7wJtJVKO_NSdv8g0VrC01JqJ-bJyr-XJy4kkpvrrc0w7eQRFSyeK39_-BDUWiKTUjq5_eBheYagnqUwOAOhSHRh4rcXaFi74I8zGgrgfO8XHWceJ62_PABzHl82tzjepey6q_atcgwIenVGzoOu/http%3A%2F%2Fwww.iana.org%2Ftime-zones&amp;data=02%7C01%7Cebarkow%40doitt.nyc.g
>>>> ov%7Cb30cb350311847227f9608d7fb27b8b1%7C73d61799c28440228d4154cc4f
>>>> 1929ef%7C0%7C0%7C637254020360322895&amp;sdata=0w76FuzcVm3%2BPycbUw
>>>> 6DnlEIXKy1DyQOEFMnGDrgf7U%3D&amp;reserved=0
>>>>
>> ----------------------------------------------------------------------
>> 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
>
> ________________________________
>
> This e-mail, including any attachments, may be confidential, privileged or 
> otherwise legally protected. It is intended only for the addressee. If you 
> received this e-mail in error or from someone who was not authorized to send 
> it to you, do not disseminate, copy or otherwise use this e-mail or its 
> attachments. Please notify the sender immediately by reply e-mail and delete 
> the e-mail from your system.
>
> ----------------------------------------------------------------------
> 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

Reply via email to