UNIX вакыт билгесе 1729486800

Monday, 21 October 2024 at 05:00:00 UTC

1 year ago Monday ISO атна 43 2024 көн 295 көн үткәндәге

Бер минутка берләштерелергә мөмкин булган, мәңгелек бит. URLны билетка яки чатка урнаштырыгыз һәм икенче кеше UTC, үз вакыт зонасы һәм барлык киң таралган форматларда күрсәтелгән бер үк вакытны күрер - "кайсы вакыт зонасында булган" дип әйләнеп кайту юк.

Бу вакытның һәрбер форматы

ФорматМәгънәКопияләү
ISO 8601
The default for APIs and logs
2024-10-21T05:00:00Z
ISO 8601 with milliseconds
Sub-second precision, still ISO 8601
2024-10-21T05:00:00.000Z
RFC 3339
ISO 8601 profile used by JSON APIs; +00:00 instead of Z
2024-10-21T05:00:00+00:00
RFC 2822
Email Date: header
Mon, 21 Oct 2024 05:00:00 +0000
RFC 1123 / HTTP date
HTTP Date:, Expires:, Last-Modified:
Mon, 21 Oct 2024 05:00:00 GMT
RFC 850
Legacy HTTP/1.0 date, two-digit year
Monday, 21-Oct-24 05:00:00 GMT
Unix timestamp (seconds)
Seconds since 1970-01-01T00:00:00Z
1729486800
Unix timestamp (milliseconds)
JavaScript Date.now()
1729486800000
ATOM / W3C-DTF
Atom and RSS feeds, W3C date-time
2024-10-21T05:00:00+00:00
Date (YYYY-MM-DD)
Calendar date only
2024-10-21
Time (24-hour)
Clock time only
05:00:00
Time (12-hour)
Clock time with AM/PM
05:00:00 AM
ISO 8601 basic
No separators; filenames and IDs
20241021T050000Z
ISO week date
Year-week-weekday
2024-W43-1
Human readable
For prose and UI
Monday, 21 October 2024 at 05:00:00 UTC

Бу минутта бөтен дөнья буйлап

UTC
05:00
Mon 21 Oct · UTC
New York
01:00
Mon 21 Oct · EDT
London
06:00
Mon 21 Oct · BST
Tokyo
14:00
Mon 21 Oct · JST
Kolkata
10:30
Mon 21 Oct · IST

Үз вакыт зонагызда: Моны күрү өчен 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 1729486800?
Monday, 21 October 2024 at 05:00:00 UTC. In ISO 8601 that is 2024-10-21T05:00:00Z, and in milliseconds it is 1729486800000.
How long ago was 1729486800?
1 year ago — measured against the current UTC time when this page was rendered. It fell on a Monday, in ISO week 43 of 2024, day 295 of the year.
How do I produce this value in code?
In Python, int(datetime(*, tzinfo=timezone.utc).timestamp()) gives 1729486800; in JavaScript, Date.parse('2024-10-21T05:00:00Z') gives 1729486800000 because JavaScript works in milliseconds. The snippets below cover the rest.

Якындагы мизгелләр

Keyboard shortcuts

cCopy the ISO 8601 timestamp
uCopy the Unix timestamp
/Focus the timezone search
tToggle light and dark
?This help
EscClose