kish.ai
Tools
Admin panel
Projects
Learning blog
Reading
Workouts
Search
Calculating dates from the command line
6 years ago by Kishan Arava
The below examples calculate a date 8 weeks in advance of today.
There are two variations as the date command works differently on mac / linux based OSs.
Mac:
date -v +8w
Linux:
date -d ‘now + 8 weeks’
Tags: