Re: CET timezone

[email protected] (Zefram)
Newsgroups perl.datetime
Message-ID <[email protected]>
Ton Voon wrote:
>timezones, but DateTime doesn't support the timezone CET. Is there a  
>reason for it?

The lettered abbreviations for timezones are generally ambiguous.
Most famously, there's an "EST" in both America and Australia.  I don't
think there's any "CET" other than Central European Time, though.
Generally these abbreviations are deprecated.

CET is almost certainly not what you want, though.  CET is a fixed
offset of UT+1h.  The civil time in west-central continental Europe is
UT+1h during the winter and UT+2h (Central European Summer Time, CEST)
during the summer.  I'm not aware of any short name for this CET/CEST
combination.  CET is year-round civil time only in certain equatorial
countries, such as Angola.

>               Is it better to specify a timezone based on a location,  
>such as Europe/Paris?

Yes.  These unambiguously refer to the civil time in a particular
location.

-zefram
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.