Setem masa Unix 1962001
Friday, 23 January 1970 at 17:00:01 UTC
56 years ago
Friday
ISO minggu 4
hari 23 dari 1970
pada masa lalu
Halaman tetap, boleh dikongsi untuk satu masa. Tepek URL ke dalam tiket atau sembang dan orang lain akan melihat masa yang sama dihasilkan dalam UTC, zon masa mereka sendiri dan setiap format biasa — tiada perjalanan "zon masa mana yang itu dalam".
Setiap format dari masa ini
| Format | Nilai | Salin |
|---|---|---|
ISO 8601 The default for APIs and logs |
1970-01-23T17:00:01Z | |
ISO 8601 with milliseconds Sub-second precision, still ISO 8601 |
1970-01-23T17:00:01.000Z | |
RFC 3339 ISO 8601 profile used by JSON APIs; +00:00 instead of Z |
1970-01-23T17:00:01+00:00 | |
RFC 2822 Email Date: header |
Fri, 23 Jan 1970 17:00:01 +0000 | |
RFC 1123 / HTTP date HTTP Date:, Expires:, Last-Modified: |
Fri, 23 Jan 1970 17:00:01 GMT | |
RFC 850 Legacy HTTP/1.0 date, two-digit year |
Friday, 23-Jan-70 17:00:01 GMT | |
Unix timestamp (seconds) Seconds since 1970-01-01T00:00:00Z |
1962001 | |
Unix timestamp (milliseconds) JavaScript Date.now() |
1962001000 | |
ATOM / W3C-DTF Atom and RSS feeds, W3C date-time |
1970-01-23T17:00:01+00:00 | |
Date (YYYY-MM-DD) Calendar date only |
1970-01-23 | |
Time (24-hour) Clock time only |
17:00:01 | |
Time (12-hour) Clock time with AM/PM |
05:00:01 PM | |
ISO 8601 basic No separators; filenames and IDs |
19700123T170001Z | |
ISO week date Year-week-weekday |
1970-W04-5 | |
Human readable For prose and UI |
Friday, 23 January 1970 at 17:00:01 UTC |
Ini seketika di seluruh dunia
UTC
17:00
New York
12:00
London
18:00
Tokyo
02:00
Kolkata
22:30
Dalam zon masa anda sendiri: aktifkan JavaScript untuk melihat ini
Cipta nilai ini dalam kod
Python
from datetime import datetime, timezone
now = datetime.now(timezone.utc)
print(now.isoformat()) # 2026-01-01T12:00:00+00:00
print(int(now.timestamp())) # unix seconds
JavaScript
const now = new Date();
console.log(now.toISOString()); // 2026-01-01T12:00:00.000Z
console.log(Date.now()); // unix milliseconds
console.log(Math.floor(Date.now() / 1000)); // unix seconds
Go
package main
import (
"fmt"
"time"
)
func main() {
now := time.Now().UTC()
fmt.Println(now.Format(time.RFC3339)) // 2026-01-01T12:00:00Z
fmt.Println(now.Unix()) // unix seconds
}
Java
import java.time.Instant;
Instant now = Instant.now(); // always UTC
System.out.println(now); // 2026-01-01T12:00:00Z
System.out.println(now.getEpochSecond());
C#
var now = DateTimeOffset.UtcNow;
Console.WriteLine(now.ToString("o")); // ISO 8601 round-trip
Console.WriteLine(now.ToUnixTimeSeconds());
Console.WriteLine(now.ToUnixTimeMilliseconds());
Rust
// chrono = "0.4"
use chrono::Utc;
let now = Utc::now();
println!("{}", now.to_rfc3339()); // 2026-01-01T12:00:00+00:00
println!("{}", now.timestamp()); // unix seconds
Perihal setem masa ini
What date is timestamp 1962001?
Friday, 23 January 1970 at 17:00:01 UTC. In ISO 8601 that is 1970-01-23T17:00:01Z, and in milliseconds it is 1962001000.
How long ago was 1962001?
56 years ago — measured against the current UTC time when this page was rendered. It fell on a Friday, in ISO week 4 of 1970, day 23 of the year.
How do I produce this value in code?
In Python, int(datetime(*, tzinfo=timezone.utc).timestamp()) gives 1962001; in JavaScript, Date.parse('1970-01-23T17:00:01Z') gives 1962001000 because JavaScript works in milliseconds. The snippets below cover the rest.