Jump to content

Recommended Posts

Posted

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]
Posted (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 by Valik

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...