This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: timezone setting ?


> 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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]