17 Jun 2007 ... You can use GNU date command, which is designed to handle relative date calculation such as:.
www.cyberciti.biz