You are here : assembly8086 INT 21HAH2AH

AH=2AH - 8086 INT 21H

AH = 2Ah - GET SYSTEM DATE

Return:

CX = year (1980-2099)

DH = month

DL = day

AL = day of week (00h=Sunday)


Syntax

MOV AH,2AH
INT 21H


Example

MOV AH,2AH
INT 21H


Output / Return Value

Return: 
CX = year (1980-2099) 
DH = month 
DL = day 
AL = day of week (00h=Sunday)


Limitations


Alternatives / See Also

Set System Date


Reference