Method

Xojo.System.Ticks


Warning

This item was deprecated in version 2020r2. Please use System.Ticks as a replacement.

Description

The number of Ticks (one 60th of a second) that have passed since the computer/device was started.

Sample code

Calculate the number of seconds that have elapsed:

Dim start As Double = Xojo.System.Ticks

' Do a long-running process here

Dim finished As Double = Xojo.System.Ticks
Dim elapsedSeconds As Double = (finished - start) / 60

Compatibility

All project types on all supported operating systems.