utc now / unix timestamp / 1672067671
Unix timestamp 1672067671

Monday, 26 December 2022 at 15:14:31 UTC

3 years ago Monday ISO week 52 day 360 of 2022 in the past

A permanent, shareable page for one instant. Paste the URL into a ticket or a chat and the other person sees the same instant rendered in UTC, their own timezone and every common format, with no "which timezone was that in" round trip.

Every format of this instant

FormatValueCopy
ISO 8601
The default for APIs and logs
2022-12-26T15:14:31Z
ISO 8601 with milliseconds
Sub-second precision, still ISO 8601
2022-12-26T15:14:31.000Z
RFC 3339
ISO 8601 profile used by JSON APIs; +00:00 instead of Z
2022-12-26T15:14:31+00:00
RFC 2822
Email Date: header
Mon, 26 Dec 2022 15:14:31 +0000
RFC 1123 / HTTP date
HTTP Date:, Expires:, Last-Modified:
Mon, 26 Dec 2022 15:14:31 GMT
RFC 850
Legacy HTTP/1.0 date, two-digit year
Monday, 26-Dec-22 15:14:31 GMT
Unix timestamp (seconds)
Seconds since 1970-01-01T00:00:00Z
1672067671
Unix timestamp (milliseconds)
JavaScript Date.now()
1672067671000
ATOM / W3C-DTF
Atom and RSS feeds, W3C date-time
2022-12-26T15:14:31+00:00
Date (YYYY-MM-DD)
Calendar date only
2022-12-26
Time (24-hour)
Clock time only
15:14:31
Time (12-hour)
Clock time with AM/PM
03:14:31 PM
ISO 8601 basic
No separators; filenames and IDs
20221226T151431Z
ISO week date
Year-week-weekday
2022-W52-1
Human readable
For prose and UI
Monday, 26 December 2022 at 15:14:31 UTC

This instant around the world

UTC
15:14
Mon 26 Dec · UTC
New York
10:14
Mon 26 Dec · EST
London
15:14
Mon 26 Dec · GMT
Tokyo
00:14
Tue 27 Dec · JST
Kolkata
20:44
Mon 26 Dec · IST

In your own timezone: enable JavaScript to see this

Produce this value in code

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

About this timestamp

What date is timestamp 1672067671?
Monday, 26 December 2022 at 15:14:31 UTC. In ISO 8601 that is 2022-12-26T15:14:31Z, and in milliseconds it is 1672067671000.
How long ago was 1672067671?
3 years ago, measured against the current UTC time when this page was rendered. It fell on a Monday, in ISO week 52 of 2022, day 360 of the year.
How do I produce this value in code?
In Python, int(datetime(*, tzinfo=timezone.utc).timestamp()) gives 1672067671; in JavaScript, Date.parse('2022-12-26T15:14:31Z') gives 1672067671000 because JavaScript works in milliseconds. The snippets below cover the rest.

Nearby instants

Keyboard shortcuts

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