Time
- lnevo
- Posts: 5422
- Joined: Fri Jul 20, 2012 9:42 am
Re: Time
http://www.timeanddate.com/services/api/
Not sure what they charge for an account, but we could write it in a way to avoid querying more than once a day so wouldnt be much traffic.. Either way dont think we'd need the high volume..
This would also give us the option to integrate accurate sunrise/sunset, moonrise/moonset times...
Not sure what they charge for an account, but we could write it in a way to avoid querying more than once a day so wouldnt be much traffic.. Either way dont think we'd need the high volume..
This would also give us the option to integrate accurate sunrise/sunset, moonrise/moonset times...
- lnevo
- Posts: 5422
- Joined: Fri Jul 20, 2012 9:42 am
Re: Time
Ok that have small pkgs from $40 a year to $400 for everything...thats for timezone...for astronomy it goes from $50 to $300. It all depends on how many cities to support. I would pay a per month fee to get that support added to my portal options 
-
rimai
- Posts: 12857
- Joined: Fri Mar 18, 2011 6:47 pm
Re: Time
If you have to create your own rules, why not have it directly adjust the clock instead of pulling from the server?
In USA, it is this:
begins at 2:00 a.m. on the second Sunday of March and
ends at 2:00 a.m. on the first Sunday of November
So, you we can just check for the day of the year and set the clock 1 hour ahead and back when it's over.
In USA, it is this:
begins at 2:00 a.m. on the second Sunday of March and
ends at 2:00 a.m. on the first Sunday of November
So, you we can just check for the day of the year and set the clock 1 hour ahead and back when it's over.
Roberto.
- lnevo
- Posts: 5422
- Joined: Fri Jul 20, 2012 9:42 am