anandchakru Posted March 10, 2010 Share Posted March 10, 2010 Hi, How to calculate, what timerInit() function will return for a future date ? say I wanna know, what the timerInit() will return on (2010-03-10 19:00:00hours) how do I calculate it ? [font="Book Antiqua"]Thanks`A[/font] Link to comment Share on other sites More sharing options...
Valik Posted March 10, 2010 Share Posted March 10, 2010 (edited) You don't.Edit: I guess I better be more clear. You don't because it's extremely stupid to do so. You should not use the value returned from TimerInit() for anything except passing to TimerDiff(). The value returned from TimerInit() does not survive reboots for one thing, so attempting to calculate a future date is only accurate so long as the machine is never restarted. Edited March 10, 2010 by Valik Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now