PRO getdatetime,header,date,time ; ; Given a header structure from a Polar Camera image produced by ; KI, this routine extracts the date and time when the image was ; acquired, and returns them in two 4-byte arrays. ; ; date = (year MOD 100, month, day, day of week (Sunday=0)) ; time = (hour, mnute, second, centisecond) ; date=BYTARR(4) & time=date j=[2,1,0,3] FOR i=0,3 DO BEGIN date(j(i))=header.misc.dt.(i) MOD 100 time(i)=header.misc.tm.(i) ENDFOR RETURN END