Back to main

 

Function 3 - get system time

 

Characteristic:

  * eax = 3-function number

Returned value:

  * eax = 0x00SSMMHH, where HH:MM:SS = hours:minutes:seconds

  * each element is returned as a BCD number, for example, for the time 23: 59: 59 the result will be 0x00595923

Comments:

  * See also subfunction 9 of function 26 - get timing since the launch of the system; in many cases, it is more convenient, because it returns just the DWORD value of the time counter.

  * System time can be set by function 22.

 

Constants for registers:

  eax - SF_GET_SYS_TIME (3)