Convert between Unix timestamps and human-readable dates without leaving your editor.
Features
Timestamp to Date — select an epoch value and convert it. Units are auto-detected: 10-digit = seconds, 13-digit = milliseconds, 16-digit = microseconds.
Date to Timestamp — select an ISO 8601 (or other common) date string and get epoch seconds back.
Insert Current Timestamp (seconds / milliseconds) — drop "now" at every cursor.
Insert Current Date (ISO 8601) — insert the current UTC time as an ISO string.
Conversions run per-selection, so multi-cursor works. Unparseable selections are skipped with a warning rather than corrupting your text.
Settings
epochly.dateOutput — how Timestamp to Date formats its result:
iso-utc (default) — 2026-06-17T12:00:00.000Z
iso-local — ISO with your local UTC offset
locale — your system's full locale string
Usage
Select a timestamp or date (or place cursors for the "Insert" commands).
Open the Command Palette (Ctrl+Shift+P / Cmd+Shift+P).
Run an Epochly: command.
License
Licensed under the MIT License. See the LICENSE file included in this extension.