Getting the elapsed time since application load

[Edit]Apologies, I forgot about the Answers section, I searched there and found my answer. Thanks.[/Edit]

Hi there,

I have tried to find the answer to this in the documentation and source code, to no avail.

What is the best method of getting the elapsed time since the application was started?

Thanks,

Mark

I think you can use game.PlayTime.

However there is also game.UpdateTime and game.DrawTime.

Not sure exactly what the difference is, but I think PlayTime would be the total elapsed time since the application was started if you were to judge it by it’s name. Maybe a dev can verify this?

Thanks for the info.

I believe that game.UpdateTime.Total is the time elapsed since the application started. This is from the answer I found in the Answers section of the site.