UNIX уақыт белгісі 1670401
Tuesday, 20 January 1970 at 08:00:01 UTC
56 years ago
Tuesday
ISO апта 4
1970 күннің 20 күні
өткенде
Бір сәттік, тұрақты, бөлісуге болатын бет. URL- адресті билетке не чатқа орналастырыңыз, сонда басқа адам да сол сәтті UTC, өз уақыт белдеуінде және барлық әдетте қолданылатын пішімде көреді - "қалай уақыт белдеуінде" деген сұрақ жоқ.
Бұл көріністің барлық пішімі
| & Пішім | Маңызды | Көшіру |
|---|---|---|
ISO 8601 The default for APIs and logs |
1970-01-20T08:00:01Z | |
ISO 8601 with milliseconds Sub-second precision, still ISO 8601 |
1970-01-20T08:00:01.000Z | |
RFC 3339 ISO 8601 profile used by JSON APIs; +00:00 instead of Z |
1970-01-20T08:00:01+00:00 | |
RFC 2822 Email Date: header |
Tue, 20 Jan 1970 08:00:01 +0000 | |
RFC 1123 / HTTP date HTTP Date:, Expires:, Last-Modified: |
Tue, 20 Jan 1970 08:00:01 GMT | |
RFC 850 Legacy HTTP/1.0 date, two-digit year |
Tuesday, 20-Jan-70 08:00:01 GMT | |
Unix timestamp (seconds) Seconds since 1970-01-01T00:00:00Z |
1670401 | |
Unix timestamp (milliseconds) JavaScript Date.now() |
1670401000 | |
ATOM / W3C-DTF Atom and RSS feeds, W3C date-time |
1970-01-20T08:00:01+00:00 | |
Date (YYYY-MM-DD) Calendar date only |
1970-01-20 | |
Time (24-hour) Clock time only |
08:00:01 | |
Time (12-hour) Clock time with AM/PM |
08:00:01 AM | |
ISO 8601 basic No separators; filenames and IDs |
19700120T080001Z | |
ISO week date Year-week-weekday |
1970-W04-2 | |
Human readable For prose and UI |
Tuesday, 20 January 1970 at 08:00:01 UTC |
Бұл сәт әлемнің айналасындаName
UTC
08:00
New York
03:00
London
09:00
Tokyo
17:00
Kolkata
13: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 1670401?
Tuesday, 20 January 1970 at 08:00:01 UTC. In ISO 8601 that is 1970-01-20T08:00:01Z, and in milliseconds it is 1670401000.
How long ago was 1670401?
56 years ago — measured against the current UTC time when this page was rendered. It fell on a Tuesday, in ISO week 4 of 1970, day 20 of the year.
How do I produce this value in code?
In Python, int(datetime(*, tzinfo=timezone.utc).timestamp()) gives 1670401; in JavaScript, Date.parse('1970-01-20T08:00:01Z') gives 1670401000 because JavaScript works in milliseconds. The snippets below cover the rest.