home *** CD-ROM | disk | FTP | other *** search
-
- (*
- * gettime - get time of day from system clock
- *
- *)
-
- function get_time: real;
- var
- h,m,s,s1: word;
- begin
- GetTime(h,m,s,s1);
- get_time := int(s1)/ 100.0 + {seconds/100}
- int(s) + {seconds}
- int(m) * 60.0 + {minutes}
- int(h) * 3600.0; {hours}
- end;
-