Page 1 of 1

How is ElapsedMilliseconds() determined?

Posted: Mon Dec 24, 2012 3:10 am
by Nituvious
Is it based on time of your computer being turned on or some other value?

Re: How is ElapsedMilliseconds() determined?

Posted: Mon Dec 24, 2012 3:27 am
by jassing
Nituvious wrote:Is it based on time of your computer being turned on or some other value?
it's a value (that does wrap back around to 0) based on "since booted"; for more info, see the windows API GetTickCount()

Re: How is ElapsedMilliseconds() determined?

Posted: Mon Dec 24, 2012 3:33 am
by Nituvious
Ah, alright. Thanks :)

Re: How is ElapsedMilliseconds() determined?

Posted: Mon Dec 24, 2012 3:44 am
by MachineCode
BTW, the wrap-around time (since boot) is 49.7 days, so it may or may not be a problem, depending on how often you (or your users) reboot their PCs.