Table of Contents
Previous Sample | List of Samples | Next Sample

Bumpdate.csh


#  Calculate the date n number days forward or backward from a given date.
#  Copyright (c) 1991 by Hamilton Laboratories.  All rights reserved.

proc bumpdate(bump, month, day, year)
   local d
   @ d = `julian $month $day $year` + bump
   return `caldate $d`
end

bumpdate $argv



Previous Sample | List of Samples | Next Sample
Table of Contents



Copyright © 1988-2003 by Hamilton Laboratories. All rights reserved.