English
Español
Français
Deutsch
हिन्दी
Nederlands
Português (Brasil)
中文(简体)
Polski
Italiano
日本語
Svenska
العربية
Filipino
Русский

Unix Timestamp Formats for Developers

Enter a Unix timestamp or date and instantly convert it into Discord, Slack, ISO 8601, JavaScript, Python, PHP, MySQL, PostgreSQL, JSON, HTML and other developer-friendly timestamp formats.

Unix Timestamp (Seconds)
Standard Unix epoch timestamp in seconds.
-
Unix Timestamp (Milliseconds)
Commonly used by JavaScript.
-
ISO 8601
Standard international date and time format.
-
UTC Date
Human-readable Coordinated Universal Time.
-
Discord Timestamp Syntax
Discord timestamp formats for use in messages.
-
Slack Date Syntax
Slack date formatting syntax using a Unix timestamp.
-
JavaScript
JavaScript Date object examples.
-
Python
Python datetime examples.
-
PHP
PHP DateTime examples.
-
MySQL
Convert Unix timestamps in MySQL.
-
PostgreSQL
PostgreSQL timestamp conversion.
-
SQL Server
Convert Unix seconds using DATEADD.
-
JSON
Useful timestamp values for APIs and JSON data.
-
HTML <time>
Semantic HTML date and time markup.
-

Supported Timestamp Formats

Platform / Language Example
Discord <t:1767225600:F>
Slack <!date^1767225600^{date_long}|Date>
JavaScript new Date(1767225600000)
Python datetime.fromtimestamp(1767225600, timezone.utc)
PHP date('c', 1767225600)
MySQL FROM_UNIXTIME(1767225600)
PostgreSQL TO_TIMESTAMP(1767225600)
ISO 8601 2026-01-01T00:00:00.000Z