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

[email protected] (Ted Byers)
Newsgroups perl.datetime
Message-ID <CAOTG1hXfMyMH0Qgenxixtyohw87uxmZPiCunB=gEwHTzgjSkwA@mail.gmail.com>
Thanks Jim,

On Fri, Aug 17, 2012 at 12:24 PM, Jim Monty <[email protected]> wrote:

> 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.
>
> And here I was looking for Indian/Kolhata


> 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.
>
> Given that it seems the entries are generaly 'continent/city',is there
something in Datetime that will take any city or state and lookup the entry
for the closest city?  Or is that something I'll have to write, based on
lat/lon data for cities (I am pretty sure I saw a database with lat/lon
data for cities somewhere, but ... if it already exists, I don't have to
write it)?


> 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
>

Thanks again.

Ted.
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.