Calculating dates from the command line

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: