Oliver Elphick writes:
> On the other hand, this does not properly handle invalid day/month
> combinations, such as 31 February.  Do you handle that somewhere else?

Use the 'date' command.  For example:

        date +%D --date '1/1/97 +60days'

returns:

        03/02/97

Like most GNU utilities, 'date' is remarkably powerful.
-- 
John Hasler
[EMAIL PROTECTED] (John Hasler)
Dancing Horse Hill
Elmwood, WI


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .

Reply via email to