Re: Example of "date" sytax to return a date in the past?
Quoting Stan Brown (firstname.lastname@example.org):
> I know thta it's possible to sue the GNU version of date, as provided with
> Debian to return a dat, say 30 minutes in the past.
> However I can't seem to get the syntax quie correct. From the man page,
> it's apparent that I need the --date option, but what is the "STRING"
$ date --date "30 mins ago"
Fri May 4 16:49:39 BST 2001
Fri May 4 17:19:45 BST 2001
Email: email@example.com Tel: +44 1908 653 739 Fax: +44 1908 655 151
Snail: David Wright, Earth Science Dept., Milton Keynes, England, MK7 6AA
Disclaimer: These addresses are only for reaching me, and do not signify
official stationery. Views expressed here are either my own or plagiarised.