Penanda waktu UNIix 2012401
Saturday, 24 January 1970 at 07:00:01 UTC
56 years ago
Saturday
minggu ISO 4
hari 24 dari 1970
di masa lalu
Halaman permanen yang dapat dibagi untuk satu instan. Tempelkan URL ke dalam tiket atau obrolan dan orang lain melihat hal yang sama saat di UTC, zona waktu mereka sendiri dan setiap format umum å tidak ada "yang zona waktu adalah bahwa dalam "perjalanan.
Setiap format instan ini
| Format | Nilai | Salin |
|---|---|---|
ISO 8601 The default for APIs and logs |
1970-01-24T07:00:01Z | |
ISO 8601 with milliseconds Sub-second precision, still ISO 8601 |
1970-01-24T07:00:01.000Z | |
RFC 3339 ISO 8601 profile used by JSON APIs; +00:00 instead of Z |
1970-01-24T07:00:01+00:00 | |
RFC 2822 Email Date: header |
Sat, 24 Jan 1970 07:00:01 +0000 | |
RFC 1123 / HTTP date HTTP Date:, Expires:, Last-Modified: |
Sat, 24 Jan 1970 07:00:01 GMT | |
RFC 850 Legacy HTTP/1.0 date, two-digit year |
Saturday, 24-Jan-70 07:00:01 GMT | |
Unix timestamp (seconds) Seconds since 1970-01-01T00:00:00Z |
2012401 | |
Unix timestamp (milliseconds) JavaScript Date.now() |
2012401000 | |
ATOM / W3C-DTF Atom and RSS feeds, W3C date-time |
1970-01-24T07:00:01+00:00 | |
Date (YYYY-MM-DD) Calendar date only |
1970-01-24 | |
Time (24-hour) Clock time only |
07:00:01 | |
Time (12-hour) Clock time with AM/PM |
07:00:01 AM | |
ISO 8601 basic No separators; filenames and IDs |
19700124T070001Z | |
ISO week date Year-week-weekday |
1970-W04-6 | |
Human readable For prose and UI |
Saturday, 24 January 1970 at 07:00:01 UTC |
Ini instan di seluruh dunia
UTC
07:00
New York
02:00
London
08:00
Tokyo
16:00
Kolkata
12:30
Dalam zona waktu Anda sendiri: aktifkan JavaScript untuk melihat ini
Hasilkan nilai ini dalam kode
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
Tentang penanda waktu ini
What date is timestamp 2012401?
Saturday, 24 January 1970 at 07:00:01 UTC. In ISO 8601 that is 1970-01-24T07:00:01Z, and in milliseconds it is 2012401000.
How long ago was 2012401?
56 years ago — measured against the current UTC time when this page was rendered. It fell on a Saturday, in ISO week 4 of 1970, day 24 of the year.
How do I produce this value in code?
In Python, int(datetime(*, tzinfo=timezone.utc).timestamp()) gives 2012401; in JavaScript, Date.parse('1970-01-24T07:00:01Z') gives 2012401000 because JavaScript works in milliseconds. The snippets below cover the rest.