VS Code Extensions
Epochly

Epochly

by SnehalPancholi

Convert between Unix timestamps and human-readable dates, and insert the current time.

Downloads

4

Rating

— (0)

Version

0.1.0

Last updated

Jun 17, 2026

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

  1. Select a timestamp or date (or place cursors for the "Insert" commands).
  2. Open the Command Palette (Ctrl+Shift+P / Cmd+Shift+P).
  3. Run an Epochly: command.

License

Licensed under the MIT License. See the LICENSE file included in this extension.

Related extensions