Created
July 26, 2018 19:41
-
-
Save agritheory/7629b1441a6e9c94c42b2197ac2a2d75 to your computer and use it in GitHub Desktop.
NH python datetime code
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# datetime | |
# dateutil | |
# parser is awesome: https://dateutil.readthedocs.io/en/stable/parser.html, built into pendulum and Maya | |
# datetime | |
# arrow vs pendulum: https://www.reddit.com/r/Python/comments/595tcd/please_stop_using_arrow_for_your_datetime/ | |
# timestring -> similar to ctparse | |
# gps time: https://stackoverflow.com/questions/33415475/how-to-get-current-date-and-time-from-gps-unsegment-time-in-python | |
# posix time/ TAI/ PGPS time are epoch | |
# give Maya a hard look if you're scraping or relying on website dates in some way | |
# give delorean a hard look if you have to shift both datetimes and timezones (airline travel?) | |
# | |
# discussion on posix/unix time w/ Larz https://python-forum.io/Thread-GPS-UTC-time-conversion | |
# scipy and astropy have built in time libraries if you're doing scientific computing |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment