UNIX вакыт билгесе 2030401
Saturday, 24 January 1970 at 12:00:01 UTC
56 years ago
Saturday
ISO атна 4
1970 көн 24 көн
үткәндәге
Бер минутка берләштерелергә мөмкин булган, мәңгелек бит. URLны билетка яки чатка урнаштырыгыз һәм икенче кеше UTC, үз вакыт зонасы һәм барлык киң таралган форматларда күрсәтелгән бер үк вакытны күрер - "кайсы вакыт зонасында булган" дип әйләнеп кайту юк.
Бу вакытның һәрбер форматы
| Формат | Мәгънә | Копияләү |
|---|---|---|
ISO 8601 The default for APIs and logs |
1970-01-24T12:00:01Z | |
ISO 8601 with milliseconds Sub-second precision, still ISO 8601 |
1970-01-24T12:00:01.000Z | |
RFC 3339 ISO 8601 profile used by JSON APIs; +00:00 instead of Z |
1970-01-24T12:00:01+00:00 | |
RFC 2822 Email Date: header |
Sat, 24 Jan 1970 12:00:01 +0000 | |
RFC 1123 / HTTP date HTTP Date:, Expires:, Last-Modified: |
Sat, 24 Jan 1970 12:00:01 GMT | |
RFC 850 Legacy HTTP/1.0 date, two-digit year |
Saturday, 24-Jan-70 12:00:01 GMT | |
Unix timestamp (seconds) Seconds since 1970-01-01T00:00:00Z |
2030401 | |
Unix timestamp (milliseconds) JavaScript Date.now() |
2030401000 | |
ATOM / W3C-DTF Atom and RSS feeds, W3C date-time |
1970-01-24T12:00:01+00:00 | |
Date (YYYY-MM-DD) Calendar date only |
1970-01-24 | |
Time (24-hour) Clock time only |
12:00:01 | |
Time (12-hour) Clock time with AM/PM |
12:00:01 PM | |
ISO 8601 basic No separators; filenames and IDs |
19700124T120001Z | |
ISO week date Year-week-weekday |
1970-W04-6 | |
Human readable For prose and UI |
Saturday, 24 January 1970 at 12:00:01 UTC |
Бу минутта бөтен дөнья буйлап
UTC
12:00
New York
07:00
London
13:00
Tokyo
21:00
Kolkata
17:30
Үз вакыт зонагызда: Моны күрү өчен JavaScriptны активлаштырыгыз
Бу мәгънәне кодта чыгару
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
Бу вакыт билгесе турында
What date is timestamp 2030401?
Saturday, 24 January 1970 at 12:00:01 UTC. In ISO 8601 that is 1970-01-24T12:00:01Z, and in milliseconds it is 2030401000.
How long ago was 2030401?
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 2030401; in JavaScript, Date.parse('1970-01-24T12:00:01Z') gives 2030401000 because JavaScript works in milliseconds. The snippets below cover the rest.