It turns out that there may not be a bug in the localtime implementation
after all. At least I can avoid the problem in an acceptable way.

Thanks to Jonathan Johnston and Jonathan Crowther for spending some time on
my TZ problem. The post by Mr. Johnston clearly stated the problem. If one
indicates a time difference between localtime and UTC (or GMT) time, one
must indicate the delta to be applied to reach UTC from the localtime.

So in my case (MET or WET, which is one hour ahead of (thus later than)
UTC), this means that one has to state the timezone as GMT-1, UTC-1, MET-1
or WET-1. Each of these incantations work on NT, Win2K as well as on
Solaris, both for Perl as for RCS.

There is still a problem (but I can avoid it by specifying UTC-1) with the
implementation of  e.g. a non qualified MET or WET. On unix (solaris) one
can state TZ=MET to obtain the UTC-1 effect. On NT this does not work: MET
is treated as UTC-0 which I presume is not fully correct. Anyway, as I said,
it's no longer a problem.

One last comment: I think I owe my misunderstanding to our good friends at
Microsoft. The control panel time aplet states my timezone as '(GMT+01:00)
Brussels, Copenhagen, Madris, Paris'. This easily explains my misconception.

Thanks again to both Jonathans to spend time to help me with my problem.

Guido.

_______________________________________________
ActivePerl mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/activeperl

Reply via email to