Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Peter Norton Programmer's Guide - Norton Guide http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]

  Function 2AH (decimal 42) reports DOS's record of the current date. The
  date is reported in CX and DX. DH contains the month number (1 through
  12); DL contains the day of the month (1 through 28, 29, 30, or 31, as
  appropriate); and CX contains the year (1980 through 2099).

  This function reports the day of the week by returning a value from 0
  through 6, which signifies Sunday through Saturday, in register AL. This
  day-of-the-week feature is somewhat of an orphan. It has been present in
  DOS since version 1.1, but was not even mentioned until DOS version 2.0.
  In both the 2.0 and 2.1 manuals, it is incorrectly described as a part of
  the get-time function and not as part of the get-date function. Starting
  with DOS 3.0, the manual tells it as it is. Turn to the example on page
  346 to see how this function can be used.

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson