Something is odd, perhaps someone can explain, if I run this from my mac laptop (which is in MST by default) everything returns as expected, spot on.
If I move the script to our server, which is in UTC time, all the dawn, disk, sunrise, sunset, etc. values are all off, even though the date/locations are all the same as my computer. I suspect maybe the fact the date is UTC is causing issues perhaps?
Something is odd, perhaps someone can explain, if I run this from my mac laptop (which is in MST by default) everything returns as expected, spot on.
If I move the script to our server, which is in UTC time, all the dawn, disk, sunrise, sunset, etc. values are all off, even though the date/locations are all the same as my computer. I suspect maybe the fact the date is UTC is causing issues perhaps?
Anyone have any ideas?