Backed by mandล

TIME,
FORMATTED.

Epoch is the precision time formatting engine that transforms raw moments into structured, human-readable timestamps. Every specifier. Every timezone. Every standard. One command.

40+ format specifiers
<1ฮผs resolution
3 RFC standards

TRUSTED BY TEAMS SHIPPING TIME-CRITICAL INFRASTRUCTURE

cron systemd rsync logrotate make tar git docker

EVERY SECOND.
EVERY FORMAT.

Eight precision instruments for capturing and expressing time in any representation you need.

๐Ÿ•

Custom Format Strings

Compose any output with +FORMAT syntax. Combine %Y, %m, %d, %H, %M, %S and 30+ other specifiers into exactly the timestamp you need.

epoch +"%Y-%m-%d %H:%M:%S"
โฑ๏ธ

Nanosecond Precision

The %N specifier delivers sub-second resolution down to the nanosecond. Capture %s epoch seconds paired with %N for timestamps that miss nothing.

epoch +"%s.%N"
๐Ÿ“…

Natural Language Parsing

The -d flag accepts human-readable date strings โ€” "next Friday", "2 weeks ago", "yesterday 3pm". Parse anything. Format everything.

epoch -d "next Thursday"
๐ŸŒ

ISO 8601 Output

One flag, standards-compliant output. -I renders ISO 8601 with configurable precision โ€” date only, hours, minutes, seconds, or nanoseconds.

epoch -I seconds
๐Ÿ“ง

RFC 5322 / RFC 3339

Email-ready timestamps with -R. Database-ready strings with --rfc-3339. Two flags, two standards, zero ambiguity.

epoch -R
๐ŸŒ

UTC Mode

The -u flag strips timezone complexity away. Coordinated Universal Time, always. No DST surprises. No locale drift. Just UTC.

epoch -u +"%T %Z"
๐Ÿ“

File Reference Timestamps

Use -r to extract the last modification time of any file. Turn filesystem metadata into formatted, pipeline-ready output.

epoch -r /etc/passwd
๐Ÿ“†

Temporal Decomposition

Extract any temporal component โ€” %A weekday, %B month, %j day of year, %u day of week, %Z timezone. Slice time into atoms.

epoch +"%A, %B %d (%j)"

FROM MOMENT
TO FORMAT

Four steps between raw system time and the exact string representation your pipeline needs.

01

Capture Time Source

Epoch reads the system clock, parses a -d string, or extracts a file's modification time with -r. One moment, precisely captured.

02

Apply Timezone

Resolve to local time by default, or force UTC with -u. Set TZ for any timezone on earth. Zero ambiguity about which moment you mean.

03

Format Output

Your +FORMAT string is parsed and each specifier โ€” %Y, %H, %N, and 30+ more โ€” is resolved against the captured moment.

04

Deliver to stdout

The formatted timestamp hits stdout, ready for piping, logging, filenames, or any downstream system that depends on knowing exactly when.

WHY TEAMS
CHOOSE EPOCH

Capability Epoch Manual String Formatting Language Libraries
Nanosecond precision โœ“ โœ— Varies
Natural language input โœ“ โœ— Needs library
ISO 8601 one-flag โœ“ Manual Varies
RFC 5322 / 3339 โœ“ โœ— Partial
File mod time โœ“ stat + format Multi-step
Zero dependencies โœ“ โœ“ โœ—
40+ format specifiers โœ“ โœ— Partial

EPOCH IN NUMBERS

0
Format specifiers
0
RFC standards supported
0
Nanosecond resolution (digits)
0
Timezone regions

TIMESTAMP FEED

Real-time view of formats being generated by Epoch users around the world.

PICK YOUR
RESOLUTION

From seconds to nanoseconds, choose the precision tier your timestamps deserve.

Seconds
Free
Basic time formatting
  • Default output (no flags)
  • %Y, %m, %d specifiers
  • %H, %M, %S specifiers
  • Local timezone only
  • stdout delivery
Get Started
Nanoseconds
$199/mo
Maximum precision
  • Everything in Milliseconds
  • %N nanosecond precision
  • %s epoch seconds
  • -r file reference timestamps
  • --rfc-3339 output
  • All 40+ format specifiers
  • Priority support
Contact Sales
Enterprise
Custom
Time operations at scale
  • Everything in Nanoseconds
  • -s system time setting
  • Batch file processing (-f)
  • Custom padding and modifiers
  • Dedicated time infrastructure
  • SLA-backed uptime
Talk to Us

WHAT TEAMS
ARE SAYING

"We were manually concatenating year, month, and day variables in our deploy scripts. Epoch's +%F replaced 14 lines of bash. Our release cadence literally doubled."

Marcus Chen Staff SRE, CloudScale

"The -d 'next Friday' feature is criminally underrated. We build our entire sprint planning pipeline around Epoch's natural language time parsing. It just works."

Priya Sharma Engineering Manager, ShipFast

"We switched from a 200KB datetime library to Epoch. Zero dependencies. Nanosecond precision. Our container images dropped by 40% and our timestamps got more accurate."

Johan Eriksson Platform Lead, NordicOps

"ISO 8601. RFC 5322. RFC 3339. Three standards, three flags. Before Epoch, we had a custom formatter for each one. Now it's one tool and zero edge cases."

Amara Obi Backend Architect, LogStream

"The -r flag changed how we think about file-based workflows. Reading modification timestamps with no external tooling? That's the kind of primitive that compounds."

Kai Tanaka DevTools Engineer, Monostack

TRY EPOCH

Select a format and see real output generated in your browser.

epoch โ€” live
$ epoch

QUESTIONS

What format specifiers does Epoch support?

Epoch supports over 40 format specifiers including %Y (year), %m (month), %d (day), %H (hour), %M (minute), %S (second), %N (nanoseconds), %s (epoch seconds), %A (weekday), %B (month name), %Z (timezone), %j (day of year), %u (day of week), and many more. Combine them freely with +FORMAT.

How does natural language parsing work?

The -d flag accepts human-readable strings like "next Friday", "2 weeks ago", "yesterday 3pm", or "2004-02-29 16:21:42". Epoch parses these into precise moments and applies your format string. It handles relative dates, absolute dates, and timezone-aware strings.

What's the difference between ISO 8601, RFC 5322, and RFC 3339?

ISO 8601 (-I) produces machine-friendly output like 2006-08-14T02:34:56-06:00. RFC 5322 (-R) generates email-standard headers like Mon, 14 Aug 2006 02:34:56 -0600. RFC 3339 (--rfc-3339) gives 2006-08-14 02:34:56-06:00. Each serves a different downstream system.

Can Epoch read timestamps from files?

Yes. The -r flag displays the last modification time of any file. Point it at a file and it returns the mtime, formatted however you specify. No stat needed, no post-processing required.

Does it work across timezones?

Absolutely. Use -u for UTC, or set the TZ environment variable for any timezone on earth. Epoch resolves DST boundaries, offset changes, and locale-specific representations automatically.

EVERY MOMENT MATTERS.
FORMAT THEM ALL.

Join the teams already using Epoch to bring precision and clarity to every timestamp in their stack.

No spam. No ambiguous timestamps. Just precision.

Backed by mandล