I am trying to write a basic game loop based on requestAnimationFrame. Callback for requestAnimationFrame is passed with a timestamp argument, which as I understand is a time in milliseconds since the page has been loaded. When building a game loop I have an assumption that with each call to requestAnimationFrame the timestamp value always goes up, based on that I can calculate a time delta between frames. My only worry is that if the application is running for a long time, this timestamp value will reach it's limit at some point.
Is there such a limit? How much of real world time will have to pass for this to happen? What will happen with the timestamp value after the limit is reached?