1
0
mirror of https://github.com/jbranchaud/til synced 2026-01-03 07:08:01 +00:00
Files
til/unix/figure-out-the-week-of-the-year-from-the-terminal.md

444 B

Figure Out The Week Of The Year From The Terminal

Want to know what week of the year we are currently in? You can use the date utility to figure it out.

$ date +%V

The %V is a formatting directive with this description:

ISO week number, with Monday as first day of week (01..53)

source