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?
-----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 > > > www.iana.org%2Ftime-zones&data=02%7C01%7Cebarkow%40doitt.nyc.g > > > ov%7Cb30cb350311847227f9608d7fb27b8b1%7C73d61799c28440228d4154cc4f > > > 1929ef%7C0%7C0%7C637254020360322895&sdata=0w76FuzcVm3%2BPycbUw > > > 6DnlEIXKy1DyQOEFMnGDrgf7U%3D&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
