User`s guide

BDOS FUNCTION 105: GET DATE AND TIME
Entry Parameters:
Registers C: 69H
DE: DAT Address
Returned Value:
Register A: seconds
DAT set
The Get Date and Time function obtains the system internal date and time. The
calling program passes in register pair DE, the address of a 4-byte data structure
which receives the date and time values. The format of the date and time, DAT, data
structure is the same as the format described in Function 104. Function 105 also
returns the seconds field of the system date and time in register A as a two digit BCD
value.
3-86
BDOS Function Calls CP/M 3 Programmers Guide