Need GSTOffset and DSTOffset back

  • Ads

Need GSTOffset and DSTOffset back

Postby Kalphiter » Sun Apr 25, 2010 2:59 pm

I need it so that I can have the DSTOffset and GMTOffset and no other time values.
I store my IP records forever and calculate the time whenever I need to, at times I have 10,000 records.
Kalphiter
 
Posts: 6
Joined: Thu Nov 26, 2009 12:29 pm

Re: Need GSTOffset and DSTOffset back

Postby marchost » Mon Apr 26, 2010 9:05 am

Hi, there is now a more precise way to get GMT :

http://ipinfodb.com/ip_query.php?timezone=true

You get TimezoneName, Gmtoffset and Isdst fields

It was not precise before because the data could change during the month... You need to know when GMT and DST time were switching which is not the case anymore. You can do exactly the same now with the fields offered

There is also an API/database just for timezones :

http://ipinfodb.com/timezonedatabase.php

Marc
marchost
Site Admin
 
Posts: 374
Joined: Wed Apr 08, 2009 9:55 pm

Re: Need GSTOffset and DSTOffset back

Postby Kalphiter » Tue Apr 27, 2010 11:48 am

Nevermind, I never saw that the America/New_York field was useful to me, but thanks for your help.
Kalphiter
 
Posts: 6
Joined: Thu Nov 26, 2009 12:29 pm

Re: Need GSTOffset and DSTOffset back

Postby marchost » Tue Apr 27, 2010 2:36 pm

No problem...
marchost
Site Admin
 
Posts: 374
Joined: Wed Apr 08, 2009 9:55 pm


Return to IP geolocation API related



Who is online

Users browsing this forum: No registered users and 1 guest