1704067200

1704067200 Unix Timestamp

1704067200 = 2024-01-01 00:00:00 UTC

1704067200 is 2024-01-01 00:00:00 UTC

The Unix timestamp 1704067200 equals 2024-01-01T00:00:00.000Z — Monday, January 1, 2024 at 00:00:00 UTC. The value is the number of seconds elapsed since the Unix epoch (1970-01-01 00:00:00 UTC).

Seconds vs milliseconds

1704067200 is in Unix seconds. JavaScript, Java, and several database drivers expect Unix milliseconds instead — same instant, value × 1000.

  • Unix seconds: 1704067200
  • Unix milliseconds: 1704067200000
  • ISO 8601 UTC: 2024-01-01T00:00:00.000Z
  • Day of year 2024: 1

Local timezone equivalents

1704067200 is a single instant; the wall-clock date and time differ by timezone.

  • UTC: 2024-01-01 00:00:00
  • America/New_York: 2023-12-31 19:00:00
  • America/Los_Angeles: 2023-12-31 16:00:00
  • Europe/London: 2024-01-01 00:00:00
  • Europe/Berlin: 2024-01-01 01:00:00
  • Asia/Shanghai: 2024-01-01 08:00:00
  • Asia/Tokyo: 2024-01-01 09:00:00
  • Australia/Sydney: 2024-01-01 11:00:00

Convert in code

One-liners for the languages people most often ask about. Multiply by 1000 for JavaScript Date.

  • JavaScript: new Date(1704067200 * 1000).toISOString() → "2024-01-01T00:00:00.000Z"
  • JavaScript (ms form): new Date(1704067200000).toISOString()
  • Python: datetime.fromtimestamp(1704067200, tz=timezone.utc)
  • Python ISO: datetime.fromtimestamp(1704067200, tz=timezone.utc).isoformat()
  • Linux: date -u -d @1704067200
  • macOS: date -u -r 1704067200
  • Go: time.Unix(1704067200, 0).UTC()
  • SQL (PostgreSQL): SELECT to_timestamp(1704067200) AT TIME ZONE 'UTC';
  • SQL (MySQL): SELECT FROM_UNIXTIME(1704067200);

Common mistake: new Date(1704067200) in JavaScript

JavaScript's Date constructor takes milliseconds. Passing the seconds value as-is asks Date to interpret it as 1,704,067,200 ms — only a few weeks past the epoch. The result lands in early 1970.

  • Right: new Date(1704067200 * 1000) → 2024-01-01T00:00:00.000Z
  • Wrong: new Date(1704067200) → 1970-01-20T17:21:07.200Z
  • Quick rule: a 10-digit number is seconds; a 13-digit number is milliseconds.

1704067200 timestamp FAQ

What date is Unix timestamp 1704067200?
1704067200 in Unix seconds is 2024-01-01T00:00:00.000Z — Monday, January 1, 2024 at 00:00:00 UTC.
What is 1704067200 in milliseconds?
1704067200000 milliseconds is the same instant — the form JavaScript Date and Java Instant expect.
Why does new Date(1704067200) show 1970?
JavaScript Date takes milliseconds. The seconds value treated as milliseconds points to early 1970. Use new Date(1704067200 * 1000) instead.
How do I convert 1704067200 in shell?
Linux: date -u -d @1704067200. macOS: date -u -r 1704067200. Both return the UTC date.