timezone setting ?

Nellis, Kenneth Kenneth.Nellis@acs-inc.com
Tue May 18 17:27:00 GMT 2010


> From: Rurik Christiansen
> Sent: Sunday, May 16, 2010 00:43
> To: Cygwin
> Subject: timezone setting ?
> 
> HI,
> 
> Where is the system's timezone defined ? (or what is the customary way
> to set it ?)
> 
> Cheers,
> --
> Nothing is true. Everything is permitted.

You can set the time zone by setting environment variable
TZ to a file path relative to /usr/share/zoneinfo, e.g.,

export TZ=America/New_York

I'm less clear on how it determines the time zone
when TZ is not set. My guess is that TZ=posixrules
is the default. Corrections are encouraged.

--Ken Nellis


More information about the Cygwin mailing list