Networker

Re: [Networker] Does any one have some UNIX scripts that can calculate dates in the future?

2004-03-31 06:09:30
Subject: Re: [Networker] Does any one have some UNIX scripts that can calculate dates in the future?
From: Anthony Lorimer <tlorimer AT MBOX.COM DOT AU>
To: NETWORKER AT LISTMAIL.TEMPLE DOT EDU
Date: Wed, 31 Mar 2004 21:04:34 +1000
Hi,

gnudate allows you to do this. (www.gnu.org)

examples

gnudate --date="01/01/2004 + 1 year"

Sat Jan  1 00:00:00 EST 2005

gnudate --date="3 months + 1 day"
Fri Jul  2 21:03:55 EST 2004

and so on and so on

Hope this helps

----------------------------------------------------
Tony Lorimer (tlorimer AT mbox.com DOT au)
Consultant - [CCSA/CCSE]
Kalba Australia Pty Ltd

--
Note: To sign off this list, send a "signoff networker" command via email
to listserv AT listmail.temple DOT edu or visit the list's Web site at
http://listmail.temple.edu/archives/networker.html where you can
also view and post messages to the list.
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=