[plug] Command to find out a particular date occurence

Leon Brooks leon at brooks.fdns.net
Tue Jan 14 19:03:46 WST 2003


On Tuesday 14 January 2003 04:54 pm, Anthony J. Breeds-Taurima wrote:
> tony at balder:~$ date -d 'Jan 21'
> Tue Jan 21 00:00:00 WST 2003
> tony at balder:~$ date -d 'Jan 21 1977'
> Fri Jan 21 00:00:00 WST 1977

$ date -d tomorrow
Wed Jan 15 19:02:10 WST 2003
$ date -d '5 days ago'
Thu Jan  9 19:02:31 WST 2003
$ date -d '2 hours'
Tue Jan 14 21:03:13 WST 2003

Dead handy for scripts but probably not what was originally required. (-:

Cheers; Leon



More information about the plug mailing list