From 003ff17e6a11f6775930a2b93becce33c03fe877 Mon Sep 17 00:00:00 2001 From: Steve Milano Date: Tue, 25 Mar 2025 16:16:08 -0700 Subject: [PATCH] date: add relative date example osx (#15992) Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com> --- pages/osx/date.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pages/osx/date.md b/pages/osx/date.md index 66d9f01420..79034f8f05 100644 --- a/pages/osx/date.md +++ b/pages/osx/date.md @@ -18,3 +18,7 @@ - Display a specific date (represented as a Unix timestamp) using the default format: `date -r {{1473305798}}` + +- Display a date relative to the current date using the default format: + +`date -v {{+1d}} -v {{-20m}}`