Re: Get the timezone from an IP address
- Date: Wed, 8 May 2019 16:41:07 -0400
- From: Michael Stone <mstone@xxxxxxxxxx>
- Subject: Re: Get the timezone from an IP address
On Wed, May 08, 2019 at 08:34:36PM +0100, André Rodier wrote:
On Wed, 2019-05-08 at 21:57 +0300, Mindaugas Celiesius wrote:
Did you check this?
> 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
> I would prefer to do this offline, though.
> Thanks for your insights.
Yes, this is the one I use, bit it does not give the timezone.
Note that by default it isn't granular enough to locate the IP with
enough accuracy to determine TZ within a country.