../
TIL: linux date command understands natural language
I discovered that the Linux data command understands natural language. Here are some cool examples:
$ date +%Y-%m-%d -d "tomorrow"
2025-10-25
$ date +%Y-%m-%d -d "now"
2025-10-24
$ date +%Y-%m-%d -d "next week"
2025-10-31
$ date +%Y-%m-%d -d "next monday"
2025-10-27
$ date +%Y-%m-%d -d "next month"
2025-11-24
$ date +%Y-%m-%d -d "next year"
2026-10-24
$ date +%Y-%m-%d -d "2 weeks ago"
2025-10-10