How to Develope Independent Clock
-
I would like to develop a Clock Application. It should not depend upon the System clock. That is when the System time changes the clock tmie should not change. The clock should run independantly. Please give me the code or Logic. Thanking You Suseel Kumar P -- modified at 3:44 Saturday 3rd September, 2005
-
I would like to develop a Clock Application. It should not depend upon the System clock. That is when the System time changes the clock tmie should not change. The clock should run independantly. Please give me the code or Logic. Thanking You Suseel Kumar P -- modified at 3:44 Saturday 3rd September, 2005
You can use System time as well. Only difference between system and your time could be a shift. Look at the DateTime structure at MSDN or somewhere else. Your can set your clock to any time you want, then compute a shift between your time and system time. Everywhen you want to update your time, just compute: system time + difference. It's not extremely accurate (in the mean of milliseconds), but it may be enough for your application.