![](https://secure.gravatar.com/avatar/f174b9816ccce31bf5cdb49501b15358.jpg?s=120&d=mm&r=g)
28 Feb
2007
28 Feb
'07
5:47 p.m.
I prefer the compact approach that Charity takes. Similarly, in a .chk file, the interval in hours is:
timediff = 24.0*(time2num(vtime2)-time2num(vtime1)+vdate2-vdate1)
assuming that vtime1, vtime2 are legal times as ##.## (hh.mm) and vdate1, vdate2 are date fields. The trick in a .chk file is catching the missing values and illegal values (times like 25.79, for example)
Jamie