i just gave a- repair for my windows XP SP2 system.

on repair,-> window came up with setting- location, date and time ..

My question is...

Date time everything was accurate in it when window came up..

How windows is taking that Time exactly../ it was accurate..??

link|improve this question

40% accept rate
feedback

migrated from stackoverflow.com Aug 11 '10 at 18:41

This question came from our site for professional and enthusiast programmers.

1 Answer

IIRC, Windows queries the machine CMOS clock to get the datetime at installation/repair time.

link|improve this answer
Whats IIRC..?? instruction or....?? – pvaju896 Aug 11 '10 at 16:00
i need the way how they are retireving -The solution i mean..?? The solution to retrieve the same manualy,,.!! – pvaju896 Aug 11 '10 at 16:03
@pvaju896: IIRC = "If I Recall Correctly" And how would you like to retrieve said time? C#?, VB.NET, other? If you're installing something on Windows, just access the system clock (DateTime.Now in C#). – AllenG Aug 11 '10 at 16:10
Not DateTime.Now works from System time.. Other one counter- clock is running with BIOS.. It is actully retreiving value from BIOS(Other CHIp).. How can we retreive that couter value..?? – pvaju896 Aug 11 '10 at 16:56
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.