integer present
present = mydate(1)/100
& ndaymonth(present,currentdate(3))
midsecs = float(ndaymonth(present,currentdate(3))*
count0 = mod(present+nmonthyear-2,nmonthyear)+1
count1 = present
count0 = present
prevcount = mod(present+nmonthyear-2,nmonthyear)+1
prevcount = present
count1 = mod(present+1,nmonthyear)
present = mod(currentdate(1)/100,100)
present = mydate(1)/10000
if (present .eq. final) then
present = mod(mydate(1)/100,100)
nmonths = final - present + 1
present = currentdate(1)
if (present .lt. final) then
else if (present .eq. final) then