[EpiData-list] Entering time and date for outbreaks

epidata-list at lists.umanitoba.ca epidata-list at lists.umanitoba.ca
Wed Feb 28 17:47:10 CST 2007


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



More information about the EpiData-list mailing list