please dont rip this site

Function 2Ah Get Date

Returns day of the week, year, month, and date

entry AH 2Ah

return CX year (1980-2099)

DH month (1-12)

DL day (1-31)

AL weekday 00h Sunday

01h Monday

02h Tuesday

03h Wednesday

04h Thursday

05h Friday

06h Saturday

note 1) Date is adjusted automatically if clock rolls over to the next day,

and takes leap years and number of days in each month into account.

2) Although DOS cannot set an invalid date, it can read one, such as

1/32/80, etc.

3) DesQview also accepts CX = 4445h and DX = 5351h, i.e. 'DESQ' as valid

4) DOS will accept CH=0 (midnight) as a valid time, but if a file's time

is set to exactly midnight the time will not be displayed by the DIR


file: /Techref/INT/21f/2a.htm, 0KB, , updated: 1999/2/20 10:26, local time: 2024/3/3 03:22,

 ©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions?
Please DO link to this page! Digg it! / MAKE!

<A HREF=""> INT 21f 2a</A>

After you find an appropriate page, you are invited to your to this massmind site! (posts will be visible only to you before review) Just type a nice message (short messages are blocked as spam) in the box and press the Post button. (HTML welcomed, but not the <A tag: Instead, use the link box to link to another page. A tutorial is available Members can login to post directly, become page editors, and be credited for their posts.

Link? Put it here: 
if you want a response, please enter your email address: 
Attn spammers: All posts are reviewed before being made visible to anyone other than the poster.
Did you find what you needed?


Welcome to!


Welcome to!