Dấu thời gian Unix 1502935

Sunday, 18 January 1970 at 09:28:55 UTC

56 years ago Sunday Tuần ISO 3 ngày 18 trong 1970 trong quá khứ

Một trang thường xuyên, có thể chia sẻ trong một khoảnh khắc. Đặt URL vào một tờ vé hoặc một cuộc nói chuyện và người khác sẽ thấy cùng khoảnh khắc được hiển thị theo UTC, múi giờ của họ và mọi định dạng phổ biến — không có "một múi giờ nào đó" đi lại.

Mọi định dạng của khoảnh khắc này

Định dạngGiá trị& Sao chép
ISO 8601
The default for APIs and logs
1970-01-18T09:28:55Z
ISO 8601 with milliseconds
Sub-second precision, still ISO 8601
1970-01-18T09:28:55.000Z
RFC 3339
ISO 8601 profile used by JSON APIs; +00:00 instead of Z
1970-01-18T09:28:55+00:00
RFC 2822
Email Date: header
Sun, 18 Jan 1970 09:28:55 +0000
RFC 1123 / HTTP date
HTTP Date:, Expires:, Last-Modified:
Sun, 18 Jan 1970 09:28:55 GMT
RFC 850
Legacy HTTP/1.0 date, two-digit year
Sunday, 18-Jan-70 09:28:55 GMT
Unix timestamp (seconds)
Seconds since 1970-01-01T00:00:00Z
1502935
Unix timestamp (milliseconds)
JavaScript Date.now()
1502935000
ATOM / W3C-DTF
Atom and RSS feeds, W3C date-time
1970-01-18T09:28:55+00:00
Date (YYYY-MM-DD)
Calendar date only
1970-01-18
Time (24-hour)
Clock time only
09:28:55
Time (12-hour)
Clock time with AM/PM
09:28:55 AM
ISO 8601 basic
No separators; filenames and IDs
19700118T092855Z
ISO week date
Year-week-weekday
1970-W03-7
Human readable
For prose and UI
Sunday, 18 January 1970 at 09:28:55 UTC

Thời điểm này quanh thế giới

UTC
09:28
Sun 18 Jan · UTC
New York
04:28
Sun 18 Jan · EST
London
10:28
Sun 18 Jan · BST
Tokyo
18:28
Sun 18 Jan · JST
Kolkata
14:58
Sun 18 Jan · IST

Trong múi giờ của bạn: bật JavaScript để xem cái này

Tạo giá trị này trong mã

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

Về dấu thời gian này

What date is timestamp 1502935?
Sunday, 18 January 1970 at 09:28:55 UTC. In ISO 8601 that is 1970-01-18T09:28:55Z, and in milliseconds it is 1502935000.
How long ago was 1502935?
56 years ago — measured against the current UTC time when this page was rendered. It fell on a Sunday, in ISO week 3 of 1970, day 18 of the year.
How do I produce this value in code?
In Python, int(datetime(*, tzinfo=timezone.utc).timestamp()) gives 1502935; in JavaScript, Date.parse('1970-01-18T09:28:55Z') gives 1502935000 because JavaScript works in milliseconds. The snippets below cover the rest.

Thời điểm gần đây

Keyboard shortcuts

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