February 9, 2008
GNU date command lets you do just about everything related to date and time but date manipulation is something not well documented.
# get date 2 weeks from now
date –date “now 2 week”
# 2 months earlier
date –date “now -2 month”
you can give any date in place of ‘now’ or use a variable.
# what day is it after 10 days?
date –date “now 10 day” +%A
I guess, it comes down to 64368 simple choice!
for those of us just getting started out, is there any chance of getting some on the letters mailed in the past?
Nice Date manipulation using GNU date | Start IT up topic you posted about. It’s funny because me and my cousin were just talking about it the other day.