Mauro do Carmo wrote:
Would you know where I find TZ for whatsoever
place/state I need? For
instance, instead of Berlin, let's say I need a sitewide default timezone TZ
for California/USA, or São Paulo/BR.
I don't think I could go ahead and make up some thing like:
putenv("TZ=USA/California"); Or putenv("TZ=Brazil/São Paulo").
Couldn't I?:)
Time zone info is usually in someplace like /usr/share/zoneinfo.
On the machine I'm on at the moment (Mac OS X) there are America/Los_Angeles and
America/Sao_Paulo settings available; I'm not 100% sure how standard the naming
is across *nixes.
-- brion vibber (brion @
pobox.com)