Get the number of whole seconds since the app was started. Accurate to 1 second.
class property Seconds: Integer;
Reading this property will internally make a system call to get the amount of time passed, therefore it's advisable to not call it too often per frame. A better approach might be to store the time value and reuse it throughout the current frame.
Copyright (c) 2012. All rights reserved.