Inspired by Randall Munroe's XKCD: https://xkcd.com/2050/
- python
run setup.sh (or .bat for windows)
import sixsixtime
sixsixtime.get_time(time as python datetime, latitude, longitude)
# returns datetime
See examples folder for more
(Please don't use this to work out where I live)
-
The program breaks in antartica and similar areas (presumably due to the 6 month long days and nights)
-
Program is untested in different timezones but I think it still works
-
Code is really ugly
-
Only availible in Python
I accept useful pull requests please contribute.