BIOS Time
-
SamirSood wrote: Is there any Function in MFC through which i can get the bios time. You mean BIOS release date? :-D Tomasz Sowinski -- http://www.shooltz.com
- It's for protection
- Protection from what? Zee Germans? -
SamirSood wrote: Is there any Function in MFC through which i can get the bios time. You mean BIOS release date? :-D Tomasz Sowinski -- http://www.shooltz.com
- It's for protection
- Protection from what? Zee Germans?What i exactly mean is that I want to get the current system time based on the BIOS time. Because if I change the system time through the Adjust time/date then the APIS such as GetCurrentTime will return the changed System time. What I want is that I want the correct time based on the time stored in BIOS or somewhere else which is intransient to the change in system time by the User. Thanks in Advance.:) Samir Sood
-
What i exactly mean is that I want to get the current system time based on the BIOS time. Because if I change the system time through the Adjust time/date then the APIS such as GetCurrentTime will return the changed System time. What I want is that I want the correct time based on the time stored in BIOS or somewhere else which is intransient to the change in system time by the User. Thanks in Advance.:) Samir Sood
So you're suggesting that changing time in Windows doesn't change BIOS time? Tomasz Sowinski -- http://www.shooltz.com
- It's for protection
- Protection from what? Zee Germans? -
What i exactly mean is that I want to get the current system time based on the BIOS time. Because if I change the system time through the Adjust time/date then the APIS such as GetCurrentTime will return the changed System time. What I want is that I want the correct time based on the time stored in BIOS or somewhere else which is intransient to the change in system time by the User. Thanks in Advance.:) Samir Sood
changing the clock in windows does change the bios time.. i think what he may be asking is if it is 9:35.. and 5 minutes later someone sets the clock to 9:36, how can he tell 5 minutes went by instead of 1.. is that what your asking? if so i would think you would have to monitor the time at a constant rate.. like have a thread that checks the clock every 30 seconds.. this 30 secods would be based of the speed of the system clock.. -dz
-
SamirSood wrote: Is there any Function in MFC through which i can get the bios time. :-) No. :-) So, how is Win16-land nowadays?
-
changing the clock in windows does change the bios time.. i think what he may be asking is if it is 9:35.. and 5 minutes later someone sets the clock to 9:36, how can he tell 5 minutes went by instead of 1.. is that what your asking? if so i would think you would have to monitor the time at a constant rate.. like have a thread that checks the clock every 30 seconds.. this 30 secods would be based of the speed of the system clock.. -dz
-
Yes It does change the BIOS time . But is there anything in the BIOS which stores how many clock ticks have passed since it was manufactured then relatively we can get the current time is that so ? Please reply t it Samir Sood
-
Yes It does change the BIOS time . But is there anything in the BIOS which stores how many clock ticks have passed since it was manufactured then relatively we can get the current time is that so ? Please reply t it Samir Sood
SamirSood wrote: But is there anything in the BIOS which stores how many clock ticks have passed since it was manufactured No there is not. John