Is there a way to get and display the sunset and sunrise Times from Demopad?
Thanks
Sunrise/Sunset Times
- Cheesegeezer
- Posts: 47
- Joined: Wed Mar 02, 2016 10:15 pm
- Location: On an oil rig somewhere
Re: Sunrise/Sunset Times
Not directly no, but you should be able to create a Centro macro which runs at sunset, which sets a label to the current time, and similarly at sunrise - that at least would display yesterdays times.
- Cheesegeezer
- Posts: 47
- Joined: Wed Mar 02, 2016 10:15 pm
- Location: On an oil rig somewhere
Re: Sunrise/Sunset Times
Thanks, that could work. It’s only a couple of minutes after all.
I found a site that i can actually plug in a url and it returns a JSONP. Is there a way to capture this information and then use 2 way with regex to set a label.
Here is the URL
https://api.sunrise-sunset.org/json?lat=xxxxx&lng=xxxxx
Thanks
I found a site that i can actually plug in a url and it returns a JSONP. Is there a way to capture this information and then use 2 way with regex to set a label.
Here is the URL
https://api.sunrise-sunset.org/json?lat=xxxxx&lng=xxxxx
Thanks