On 04/04/2017 09: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. > > > Jerry > _______________________________________________ > CentOS mailing list > CentOS at centos.org > https://lists.centos.org/mailman/listinfo/centos "man date" shows a few options: > %z +hhmm numeric time zone (e.g., -0400) > > %:z +hh:mm numeric time zone (e.g., -04:00) > > %::z +hh:mm:ss numeric time zone (e.g., -04:00:00) > > %:::z numeric time zone with : to necessary precision > (e.g., -04, > +05:30) > > %Z alphabetic time zone abbreviation (e.g., EDT) That is, perhaps the "other system" wants some kind of numeric representation. Without knowing the recipient app on that other system, this is just a guess.