Web lists-archives.com

Re: Get the timezone from an IP address

On Wed, May 08, 2019 at 07:43:58PM +0100, André Rodier wrote:
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.

You can get a guess on lat/lon for an IP and then get the TZ for the coordinates. Lots of options there, e.g.: