Re: Is there timezone data for any Indian cities such as Mumbai, Dehli, &c.?

[email protected] (Jim Monty)
Newsgroups perl.datetime
Message-ID <[email protected]>
Ted wrote:
> I looked and couldn't find any names of Indian cities that I recognized:
> Dehli, New Dehli, Mumbai, Kolkata Bangalore, Madras, Chandigarh, Amritsar,
> &c., &c., &c.  None of the timezones I found beginning with "Indian/" are
> actually in India.

>
> So, are Indian timezones supported, using a name I am not aware of, or is
> there a way to add support for Indian timezones without breaking anything?

Yes, of course India is represented in the tz database. It's Asia/Kolkata.
See http://en.wikipedia.org/wiki/Asia/Kolkata.

For a convenient list of all the time zones in the tz database, see
http://en.wikipedia.org/wiki/List_of_tz_database_time_zones.

For everything you ever wanted to know about time and time zones in India,
start with http://en.wikipedia.org/wiki/Time_in_India. This article states
"The IANA time zone database contains only 
one zone, namely Asia/Kolkata."

Read all about the tz database itself in the Wikipedia article
http://en.wikipedia.org/wiki/Tz_database. The Perl DateTime module
DateTime::TimeZone uses the tz database.

Jim Monty
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.