OI and Dates (None Specified)
At 09 MAR 1999 03:38:58PM Jeff Hostetter wrote:
Some of our customers are checking their computers for Y2K compliance. Some of their computers pass the BIOS test but not the RTC (real time clock) test. They are asking us if OI uses the BIOS or RTC to determine the date when the date() function is used. Does anyone know?
At 09 MAR 1999 05:41PM Rob Misek wrote:
Jeff–
The Date() function calls a Microsoft function called Localtime(). I took a look at Microsft's site and LocalTime() uses the . However, I do not know how that graps the date.
Rob
Revelation
At 11 MAR 1999 08:42AM Jeff Hostetter wrote:
So does anyone know if windows date function look at the BIOS or RTC?
At 11 MAR 1999 11:22AM Cameron Purdy wrote:
Jeff,
From MSVC 1.52C help file for the C runtime library: This value (localtime) is usually obtained from the time function.
The time function states: The time function returns the number of seconds elapsed since midnight (00:00:00), January 1, 1970, Universal Coordinated Time, according to the system clock.
For any more details, you would have to contact Microsoft.
Cameron Purdy
Revelation Software