[comp.os.msdos.programmer] Date in MSDOS

sdawalt@valhalla.wright.edu (Shane Dawalt) (04/21/91)

  I have practically combed the INTER590.ZIP files for the location
were MSDOS stores the system date.  I can find where it stores the
number of ticks since midnight and where the "day roll-over" flag
resides.  I have heard that somewhere there is a long word which
stores the number of seconds in a Unix-like convention.  INTER90
doesn't seem to know about this long word.  Does anyone else?  In
general, how and where does MSDOS store the current date????  I need
to fix the stupid roll-over flag as it forces my machine to loose
24 hours each day it sets unused.  (Another IBM original)

  Thanks.

  Shane();

--------------------------------------------------------------------------
From the keyboard of:			     email: sdawalt@cs.wright.edu
	Shane A. Dawalt
--------------------------------------------------------------------------

timmons@atccad.enet.dec.com (04/24/91)

The timer is a four byte value at 46C (40:006C) left to right significance with the

day rollover bit in 470.

Ray T.

valley@gsbsun.uchicago.edu (Doug Dougherty) (04/25/91)

timmons@atccad.enet.dec.com writes:

>The timer is a four byte value at 46C (40:006C) left to right significance with the

>day rollover bit in 470.

Strictly speaking, that's the BIOS time, not the MSDOS time (as the
original poster requested).  In terms of the day rollover problem, there
is a distinction.  The question is, does DOS save the time elsewhere?

There is an excellent article on this stuff that I bet Joe Dubner would
be glad to fax to you if you asked him nicely...
--

	(Another fine mess brought to you by valley@gsbsun.uchicago.edu)