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

Re: Get the timezone from an IP address



On Wed, 2019-05-08 at 20:07 +0100, Darac Marjal wrote:
> On 08/05/2019 19:43, André Rodier wrote:
> > Hi,
> > 
> > Is there any way - or Debian package - to know the timezone from an IP
> > address, or at least from a country? I have successfully used the geoip
> > databases to get the country, so I could use the main city as an
> > approximation.
> > 
> > I would prefer to do this offline, though.
> > 
> > Thanks for your insights.
> > 
> 
> Some part of my brain said that the timezone database holds this
> information, but it may not do so directly. Here's some suggestions from
> IANA, though.
> 
> https://data.iana.org/time-zones/tz-link.html#boundaries
> 

Thank you, I will have a look to this.


Reply to: