[CentOS] Timezone and date

Wed Apr 5 02:57:38 UTC 2017
John R Pierce <pierce at hogranch.com>

On 4/4/2017 7:51 PM, John R Pierce wrote:
> On 4/4/2017 6:22 PM, Jerry Geis wrote:
>> When I do the date +%Z I get the timezone. Which currently is EDT.
>>
>> I am sending information to another system, that says EDT is not a valid
>> timezone. I have no way to modify the other system.
>>
>> My question is - is there a way to get the non-day-lite savings time 
>> zone ?
>> For example EST is valid - EDT is not.
>>
>> Just curious if there is an easy way already present to get a 
>> standard time
>> zone.
>>
>> Thanks, - I know weird situation the other end not supported EDT.
>
>
> # cat /etc/timezone
> America/Los_Angeles 

oops, sent too soon.   thats the canonical time zone.   things like CST, 
they aren't globally reliable, in China, CST is China Standard Time, 
while in the USA its Central Standard Time. OOOPS.   there's a bunch 
more such conflicts in 3-letter timezones around the world, they had 
best be avoided.


-- 
john r pierce, recycling bits in santa cruz