Click here to Skip to main content
15,909,325 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi All,
I want to maintain 24hr period in my Application. This 24 hr period is independent of system datetime. Application has its own time period like session changes when 24hr period completes.
Should i use timer in my application?

If you have any suggestions please let me know.
Posted

1 solution

The Stopwatch[^] class should provide measures independent by the system time. However it has its caveats. See, for instance here[^].
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900