1798761600 Unix Timestamp
1798761600 = 2027-01-01 00:00:00 UTC
1798761600 is 2027-01-01 00:00:00 UTC
The Unix timestamp 1798761600 equals 2027-01-01T00:00:00.000Z — Friday, January 1, 2027 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
1798761600 is in Unix seconds. JavaScript, Java, and several database drivers expect Unix milliseconds instead — same instant, value × 1000.
- Unix seconds: 1798761600
- Unix milliseconds: 1798761600000
- ISO 8601 UTC: 2027-01-01T00:00:00.000Z
- Day of year 2027: 1
Local timezone equivalents
1798761600 is a single instant; the wall-clock date and time differ by timezone.
- UTC: 2027-01-01 00:00:00
- America/New_York: 2026-12-31 19:00:00
- America/Los_Angeles: 2026-12-31 16:00:00
- Europe/London: 2027-01-01 00:00:00
- Europe/Berlin: 2027-01-01 01:00:00
- Asia/Shanghai: 2027-01-01 08:00:00
- Asia/Tokyo: 2027-01-01 09:00:00
- Australia/Sydney: 2027-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(1798761600 * 1000).toISOString() → "2027-01-01T00:00:00.000Z"
- JavaScript (ms form): new Date(1798761600000).toISOString()
- Python: datetime.fromtimestamp(1798761600, tz=timezone.utc)
- Python ISO: datetime.fromtimestamp(1798761600, tz=timezone.utc).isoformat()
- Linux: date -u -d @1798761600
- macOS: date -u -r 1798761600
- Go: time.Unix(1798761600, 0).UTC()
- SQL (PostgreSQL): SELECT to_timestamp(1798761600) AT TIME ZONE 'UTC';
- SQL (MySQL): SELECT FROM_UNIXTIME(1798761600);
Common mistake: new Date(1798761600) in JavaScript
JavaScript's Date constructor takes milliseconds. Passing the seconds value as-is asks Date to interpret it as 1,798,761,600 ms — only a few weeks past the epoch. The result lands in early 1970.
- Right: new Date(1798761600 * 1000) → 2027-01-01T00:00:00.000Z
- Wrong: new Date(1798761600) → 1970-01-21T19:39:21.600Z
- Quick rule: a 10-digit number is seconds; a 13-digit number is milliseconds.
1798761600 timestamp FAQ
- What date is Unix timestamp 1798761600?
- 1798761600 in Unix seconds is 2027-01-01T00:00:00.000Z — Friday, January 1, 2027 at 00:00:00 UTC.
- What is 1798761600 in milliseconds?
- 1798761600000 milliseconds is the same instant — the form JavaScript Date and Java Instant expect.
- Why does new Date(1798761600) show 1970?
- JavaScript Date takes milliseconds. The seconds value treated as milliseconds points to early 1970. Use new Date(1798761600 * 1000) instead.
- How do I convert 1798761600 in shell?
- Linux: date -u -d @1798761600. macOS: date -u -r 1798761600. Both return the UTC date.