Back to Home
Published: June 2026By Web Util Slyce Team6 min read

Unix Timestamp Examples & Reference

Convert between Unix timestamps and dates instantly with our Unix Timestamp Converter.

Current Unix Timestamp

1781324901

Updated on page load — server-generated

Common Timestamps

DescriptionUnix TimestampHuman Date (UTC)
Unix Epoch0Jan 1, 1970 00:00:00
Y2K946684800Jan 1, 2000 00:00:00
January 1, 20251735689600Jan 1, 2025 00:00:00
January 1, 20261767225600Jan 1, 2026 00:00:00
Now (approx)17813249012026-06-13 04:28:21 UTC
End of Today1781395199End of current day (UTC)
Start of Next Year1798761600Jan 1, 2027 00:00:00
2038 Problem (max 32-bit)2147483647Jan 19, 2038 03:14:07
Year 21004102444800Jan 1, 2100 00:00:00

Timestamps for Common Time Periods

1 minute ago1781324841
1 hour ago1781321301
1 day ago1781238501
1 week ago1780720101
1 month ago (30 days)1778732901
1 year ago (365 days)1749788901
1 hour from now1781328501
1 day from now1781411301

Conversion Formulas

JavaScript / TypeScript

Math.floor(Date.now() / 1000)

Get current timestamp

JavaScript

new Date(timestamp * 1000)

Convert timestamp to Date

JavaScript

date.getTime() / 1000

Convert Date to timestamp

Python

import time; time.time()

Get current timestamp

Python

from datetime import datetime; datetime.fromtimestamp(ts)

Convert timestamp to datetime

SQL (PostgreSQL)

EXTRACT(EPOCH FROM NOW())

Get current timestamp

SQL (MySQL)

UNIX_TIMESTAMP()

Get current timestamp

Bash

date +%s

Get current timestamp

Bash

date -d @timestamp

Convert timestamp to date

What is the Unix Epoch?

The Unix epoch (or Unix time, POSIX time) is the number of seconds that have elapsed since January 1, 1970 (midnight UTC), not counting leap seconds. It is widely used in programming and systems for storing and exchanging time values as a simple integer. The Year 2038 problem occurs when 32-bit signed integers, which max out at 2,147,483,647, can no longer represent the current timestamp.