# Time

Time: Dates and Times.

Updated: November 10, 2026

1. [Dates and Times](https://www.ask-codey.com/lessons/bash-dates) (Journeyman): date followed by + and a pattern prints a date in the shape you need, such as date +%F for 2026-11-09; date -d works out other days, such as 7 days ago; date +%s counts seconds, for timing a job; and a Mac's date uses -v instead of -d.

Source: https://www.ask-codey.com/courses/bash-in-depth/topics/bash-time
