Search code examples
unixtimeutc

Unix time uncertainty


I have a gap in Unix time understanding. Unix time started to be counted on 1/1/1970 but in what timezone? Say it´s 31st of December 1969 11p.m. in London (-3600 Unix time) In Sidney they have 8 a.m. 1st of January 1970 (28 800 Unix time) in the same time. So my question is when did they start counting Unix time? 1/1 1970 of what timezone?

Thank you


Solution

  • "Unix time" should always be UTC.

    Wikipedia has some further verbiage around this at https://en.wikipedia.org/wiki/Unix_time#UTC_basis:

    The precise definition of Unix time as an encoding of UTC is only uncontroversial when applied to the present form of UTC. Fortunately, the fact that the Unix epoch predates the start of this form of UTC does not affect its use in this era: the number of days from 1 January 1970 (the Unix epoch) to 1 January 1972 (the start of UTC) is not in question, and the number of days is all that is significant to Unix time.