I just ran across this tip and thought I’d archive it here since I’m terribly forgetful. From your SSH, enter the following:
date -d "1 month 2 weeks 4 days"
…will yield Tue Jun 16 08:21:27 EDT 2009. You can use any of the following variables
- years
- months
- days
- hours
- minutes
- and negatives work too!
Leave a Reply