Ticks between Unix epoch and GPS epoch

后端 未结 4 1184
[愿得一人]
[愿得一人] 2020-12-07 19:20

What is the number of one second ticks between Unix time epoch (01 Jan 1970) and GPS time epoch (06 Jan 1980)?

I have seen multiple answers from several sources on t

4条回答
  •  醉梦人生
    2020-12-07 19:59

    go back to the orginal question, "Unix time epoch (01 Jan 1970)" to "GPS time epoch (06 Jan 1980)" , so the epoch is 315964800, 315964819 is the 'TAI epoch' to the 'GPS time epoch'. which means 315964819= 315964800 + 19. so the epoch value you use in the code, is really depending on which time epoch you are using.

提交回复
热议问题