1234567890

1234567890 Unix Timestamp

1234567890 = 2009-02-13 23:31:30 UTC

1234567890 is 2009-02-13 23:31:30 UTC

The Unix timestamp 1234567890 equals 2009-02-13T23:31:30.000Z — Friday, February 13, 2009 at 23:31:30 UTC. The value is the number of seconds elapsed since the Unix epoch (1970-01-01 00:00:00 UTC).

Seconds vs milliseconds

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

  • Unix seconds: 1234567890
  • Unix milliseconds: 1234567890000
  • ISO 8601 UTC: 2009-02-13T23:31:30.000Z
  • Day of year 2009: 44

Local timezone equivalents

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

  • UTC: 2009-02-13 23:31:30
  • America/New_York: 2009-02-13 18:31:30
  • America/Los_Angeles: 2009-02-13 15:31:30
  • Europe/London: 2009-02-13 23:31:30
  • Europe/Berlin: 2009-02-14 00:31:30
  • Asia/Shanghai: 2009-02-14 07:31:30
  • Asia/Tokyo: 2009-02-14 08:31:30
  • Australia/Sydney: 2009-02-14 10:31:30

Convert in code

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

  • JavaScript: new Date(1234567890 * 1000).toISOString() → "2009-02-13T23:31:30.000Z"
  • JavaScript (ms form): new Date(1234567890000).toISOString() → same
  • Python: datetime.fromtimestamp(1234567890, tz=timezone.utc)
  • Python ISO: datetime.fromtimestamp(1234567890, tz=timezone.utc).isoformat()
  • Linux: date -u -d @1234567890
  • macOS: date -u -r 1234567890
  • Go: time.Unix(1234567890, 0).UTC()
  • SQL (PostgreSQL): SELECT to_timestamp(1234567890) AT TIME ZONE 'UTC';
  • SQL (MySQL): SELECT FROM_UNIXTIME(1234567890);

Common mistake: new Date(1234567890) in JavaScript

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

  • Right: new Date(1234567890 * 1000) → 2009-02-13T23:31:30.000Z
  • Wrong: new Date(1234567890) → 1970-01-15T06:56:07.890Z
  • Quick rule: a 10-digit number is seconds; a 13-digit number is milliseconds.

1234567890 timestamp FAQ

What date is Unix timestamp 1234567890?
1234567890 in Unix seconds is 2009-02-13T23:31:30.000Z — Friday, February 13, 2009 at 23:31:30 UTC.
What is 1234567890 in milliseconds?
1234567890000 milliseconds is the same instant — the form JavaScript Date and Java Instant expect.
Why does new Date(1234567890) show 1970?
JavaScript Date takes milliseconds. The seconds value treated as milliseconds points to early 1970. Use new Date(1234567890 * 1000) instead.
How do I convert 1234567890 in shell?
Linux: date -u -d @1234567890. macOS: date -u -r 1234567890. Both return the UTC date.