Developer Tools100% Client-Side
All Tools

Unix Timestamp Converter

Convert Unix epoch timestamps (in seconds or milliseconds) to readable dates in UTC, Indochina Time (ICT / Phnom Penh UTC+7), and your local timezone, or convert any date back to a timestamp.

Current Unix Epoch Timestamp1794063674

Convert Unix Timestamp to Human Date

🇰🇭 Phnom Penh Time (ICT UTC+7)Saturday, November 7, 2026 at 10:01:14 PM
UTC Time (Greenwich)Sat, 07 Nov 2026 15:01:14 GMT
ISO 86012026-11-07T15:01:14.000Z

Convert Human Date to Unix Timestamp

Seconds (s)1794063660
Milliseconds (ms)1794063660000

About & How It Works

Technical calculation logic, standards, and operational details

The Unix Timestamp Converter translates Unix epoch timestamps — the number of seconds (or milliseconds) elapsed since January 1, 1970 00:00:00 UTC — into human-readable date and time representations across multiple time zones, with dedicated support for Indochina Time (ICT, UTC+7), the official timezone of Cambodia, Laos, Thailand, and Vietnam. Unix timestamps are the universal time representation in backend engineering: all major databases (PostgreSQL, MySQL, MongoDB), cloud platforms (AWS, GCP, Firebase), logging systems (CloudWatch, Datadog, Splunk), and programming language standard libraries use epoch integers as their internal time currency. The reverse conversion — date picker to timestamp — enables developers to construct time-based database queries and API filters.

Algorithmic Logic & Calculation

The tool detects whether the input is seconds-length (10 digits, <2,000,000,000) or milliseconds-length (13 digits) and normalizes to milliseconds before constructing a JavaScript Date object. It then formats the date string in multiple timezones using Intl.DateTimeFormat with explicit timeZone options: 'UTC', 'Asia/Phnom_Penh', and the browser's local timezone. The current timestamp button polls Date.now() in real-time with a 1-second refresh interval. For the reverse direction (date-to-timestamp), the tool parses the selected date at midnight UTC and returns both second and millisecond epoch values.

Technical Standards & Compliance

Unix epoch time follows POSIX.1-2017 standard (IEEE Std 1003.1). Timezone display uses IANA Time Zone Database identifiers (e.g., Asia/Phnom_Penh). Formatting follows RFC 3339 / ISO 8601.

Key Features & Capabilities

Auto-Detect Seconds vs Milliseconds

Automatically identifies 10-digit second timestamps and 13-digit millisecond timestamps without manual selection.

Indochina Time (ICT UTC+7) Display

Shows the exact date and time in Cambodia/Phnom Penh timezone (Asia/Phnom_Penh) alongside UTC.

Current Timestamp with Live Refresh

Displays the current Unix timestamp in real-time, refreshing every second.

Date → Timestamp Reverse Conversion

Convert any human-readable date back to its Unix timestamp in both seconds and milliseconds.

Practical Real-World Use Cases

API Debugging & Log Analysis

Developers decode epoch timestamps from REST API responses or server log files to identify when specific events occurred in Phnom Penh local time.

Database Query Time Filtering

Backend engineers convert specific calendar dates into epoch ranges to construct WHERE created_at BETWEEN ? AND ? SQL queries.

JWT & Token Expiry Inspection

Security engineers decode the exp and iat Unix timestamps inside decoded JWT payloads to verify token validity windows.

How to Use

  1. Enter a Unix timestamp in seconds or milliseconds, or pick a date.
  2. View conversions across multiple timezones including Phnom Penh (UTC+7).
  3. Copy current timestamp or formatted dates.
In-Depth Educational Guide

Client-Side Security Guide: Why In-Browser Tools Protect Your Sensitive Data

Learn how modern WebAssembly and JavaScript enable private, 100% in-browser utilities that guarantee zero data leakage, ideal for API keys, JSON payloads, and sensitive tokens.

Read Full Guide

Frequently Asked Questions

Cambodia operates in Indochina Time (ICT), which is UTC+7 all year round with no daylight saving time.

Related Developer Tools

View all →