[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] time, date, and timezone



>> Since it's in Windows, it must be a bad idea 1/2 :-).
>
>Or it means that occasionally Windows does steal good ideas :-)

Was this still about a $TZ environment var. ? It is NOT in Windows! It
would be nice if it were, though. It's in the registry, but under different
keys in Win95 and NT !!

Windows does occasionnaly have/steal (who cares) good ideas, but this
doesn't look like one... :-)

Anyway, a $TZ would be nice, but the gmtime-localtime difference seems to
be the only _portable_ way of doing it. (And even with this, there's an
obscure bug on some Windows/Perl/C compiler combinations with time zones
that don't use DST).

Ah, and there's another problem: sometimes the $TZ will not be numeric but
text, and possibly ambiguous: BST should be Brazil Standard, but is
sometimes used for British Summer, and others like this...

M.

***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch