September 7, 2024

Unix Epoch Basics and Timezone Pitfalls

Unix epoch counts seconds since 1970-01-01 UTC. Converting must account for local timezone and DST.

  • Store timestamps in UTC; convert at the edges.
  • Use seconds (or milliseconds) consistently.

Convert with our Epoch Converter.

Advertisement