{{tag>category:"None Specified" author:"Jeff Hostetter" author:"Rob Misek" author:"Cameron Purdy"}} [[https://www.revelation.com/the-works|Join The Works program to have access to the most current content, and to be able to ask questions and get answers from Revelation staff and the Revelation community]] ==== 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 [[https://www.revelation.com/revweb/oecgi4p.php/O4W_HANDOFF?DESTN=O4W_RUN_FORM&INQID=WORKS_READ&SUMMARY=1&KEY=47F97264AE29833F8525672F00716E58|View this thread on the Works forum...]]