SwapInterval and tweening

BlitzMax Forums/BlitzMax OpenGL Programming/SwapInterval and tweening

How easy is it to work out how much time has gone between the last screen update and the moving of objects, so that I can have a delta and move objects by that amount, thus having a steady say 30 Frames per second etc, like in Blitz3D RenderTween