Created
July 1, 2018 07:59
-
-
Save vivekrk1992/15e33ae89161b6db2199f2871928df98 to your computer and use it in GitHub Desktop.
Convert GPS timestamp to datetime using python
This file contains 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
gps timestamp | |
``` | |
t = '1530430370491' | |
``` | |
``` | |
gps_time_stamp = (int(t) / 1000) | |
time_stamp = datetime.fromtimestamp(gps_time_stamp) | |
``` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment