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

Deltaday.csh


#  Calculate the number of days separating two dates.
#  Copyright (c) 1991 by Hamilton Laboratories.  All rights reserved.

proc deltaday(month2, day2, year2, month1, day1, year1)
   return `julian $month2 $day2 $year2` - julian(month1, day1, year1)
end

deltaday $argv



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



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