GeoNames Home | Postal Codes | Download / Webservice | About 

GeoNames Forum
  [Search] Search   [Recent Topics] Recent Topics   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Sunrise/Sunset via API  XML
Forum Index -> General
Author Message
Edsdev



Joined: 26/03/2016 04:27:05
Messages: 1
Offline

Trying to get info about SR/SS for Vancouver BC Canada, but noticed that the sunset time is wrong by an hour, sunrise is correct. Why would this be? Using the timezone call....

"api.geonames.org/timezone?lat=49.28f&lng=-123.12&username=demo"

TimeandDate.org shows for Mar 26
Sunrise:7:01am
Sunset:7:36pm

API gives
Sunrise:2016-03-26 07:00
Sunset2016-03-26 18:36

What am I missing??
 
Forum Index -> General
Go to:   
Powered by JForum 2.1.5 © JForum Team