[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: case statement question again...

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'



Like most GNU utilities, 'date' is remarkably powerful.
John Hasler
john@dhh.gt.org (John Hasler)
Dancing Horse Hill
Elmwood, WI

TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .

Reply to: