Tool

Unix Timestamp Quick Reference

Live reference for frequently needed Unix timestamps — today midnight, yesterday, this week, month, and year — plus fixed points including the Unix epoch (0) and the Year 2038 overflow at 2,147,483,647.

How to use this reference

All timestamps are shown in UTC. The 'Right now' row updates every second. Click the copy button next to any value to grab it for your code, query, or script.

  • Seconds — 10-digit integer, standard Unix time (Python, PHP, Go, Ruby, C)
  • Milliseconds — 13-digit integer, multiply seconds × 1000 (JavaScript, Java, .NET)
  • All midnight values are 00:00:00 UTC — add or subtract your timezone offset as needed

When you need a specific timestamp

Developers frequently need fixed timestamps for test fixtures, cron schedules, log filters, and date-range queries.

  • Today midnight — filter events since the start of the current UTC day
  • Yesterday midnight — build a one-day UTC date range for log queries
  • Start of this month — first day of the billing or reporting period
  • Start of this year — year-to-date aggregations and annual resets
  • End of this year — boundary checks for annual reports and tests
  • Unix epoch (0) — the reference point: January 1, 1970 00:00:00 UTC
  • Y2038 max (2,147,483,647) — the largest value a 32-bit signed integer can hold