[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
Function: RealDate()
RealDate() returns the System date as it is known
by the CMOS internal battery. It should generally
be the same as the DOS date, but in some
situations this is a more accurate way of checking
the date, as this one is updated continuously
(also when the computer is turned off). Note that
when running under DOS 3.30 or higher, the Real-
Time date is also set, along with DOS' date, when
using the SetDate() function.
WARNING: Use this function only on ATs and higher
machines, this service is not supported in the PCs
and XTs of the early years (unpredictable
results).
Syntax: RealDate().
Arguments: None.
Returns: The Real-Time Date as the internal battery has
stored it.
Usage: if (Date() <> RealDate()) .or. ;
(Time() <> RealTime())
* - We've got a problem here
WhatThaF*ck()
else
Okidoki()
endif
See Also:
SetDate()
RealTime()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson