PhloemDocs
Markdown
CLI reference

#phloem time

Epoch-millisecond arithmetic: now, parse an instant, build a window

phloem time [OPTIONS] <COMMAND>

#phloem time now

Now, as epoch ms and ISO 8601 (UTC)

phloem time now [OPTIONS]

#phloem time parse

One instant → epoch ms: ISO 8601, 'YYYY-MM-DD[ HH:MM[:SS]] [TZ]', 'now', or an epoch (s/ms/µs by digit count)

phloem time parse [OPTIONS] <TEXT>
Arguments
<TEXT>—

#phloem time window

A (from, to) pair in epoch ms, ready to paste into --from/--to

phloem time window [OPTIONS]
Options
--last <LAST>Window length ending at --to (default now): 90s, 15m, 1h, 3d, 2w
--from <FROM>Window start (any `time parse` spelling)
--to <TO>Window end (default now)

Updated