Real-time clock with millisecond precision, Unix timestamp ↔ date conversion with auto-detection of seconds / milliseconds / microseconds / Apple Double formats, plus relative time display. Multi-timezone clock, quick presets, history, RFC 2822 output, and Swift / Objective-C API examples. All processing is local in your browser.
Notes:
- Real-time clock: refreshes every 50ms, showing local time, UTC, ISO 8601, RFC 2822, and Unix seconds / milliseconds / microseconds / Apple Double
- Multi-timezone: shows local and UTC by default; search or pick from 100+ city timezones grouped by region (Chinese, English and IANA names supported), or click “Locate my timezone” to auto-detect your location (falls back to the device timezone if permission is denied) — all done locally in your browser
- Quick presets: one-click fill for “Now”, “1 day ago”, “Start of month”, “Unix Epoch (0)”, “Year 2038 Bug”
- Timestamp → Date: auto-detects format (10-digit seconds / 13-digit milliseconds / 16-digit microseconds / Apple Double), outputs local time, UTC, ISO 8601, RFC 2822, relative time
- Date → Timestamp: pick date and time (optional milliseconds), outputs Unix seconds / milliseconds / microseconds / Apple Double / ISO 8601 / RFC 2822
- History: auto-saves recent conversions, click to re-fill
- Code examples: Swift and Objective-C APIs for getting timestamps, converting timestamps to Date, formatting strings, ISO8601
--:--:--
sec
ms
μs
Apple
Timezones
Local
--UTC
--Timestamp → Date
Enter a timestamp (auto-detect: seconds / milliseconds / microseconds / Apple Double like 1692800123.456)
Date → Timestamp
History
No conversion history yet
API Examples