Render timestamps using a custom format.
Section: Dates and Time
Format epoch as custom string
bash
bash
jq -n 'now | strftime("%Y-%m-%d")'Explanation
Great for filenames and daily reports.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Dates and Time