MilliSecs : How do I count seconds

BlitzMax Forums/BlitzMax Beginners Area/MilliSecs : How do I count seconds

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

That's all it needs to do; the actual starting point for the count is irrelevant so long as it counts the milliseconds elapsed accurately.
That depends on what you're using it for. You could argue that if Millisecs() consistently returned a unix timestamp on all platforms, it could be used for more purposes than simply measuring delta time.

Ofcourse the really correct way to measure this is by using an accumulator, and incremental relative MilliSecs(). That way you can accurately measure time on as large a scale as you want, indefinately. Well until your accumulator overflows anyway.