echo-now
Echo a stable UTC timestamp and ISO date string.
When to use
- A log entry, note, or manifest needs a UTC timestamp.
- A file name needs a date prefix (
YYYY-MM-DD). - Avoid re-deriving
dateformatting in shell each time.
Prerequisites
- POSIX
dateavailable onPATH.
Run
scripts/echo_now.sh
Output shape
Two lines:
utc=<YYYY-MM-DDTHH:MM:SSZ>
date=<YYYY-MM-DD>
Use the utc= value for event timestamps and the date= value for date-only prefixes.
