Method

Xojo.System.Microseconds


Warning

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

Description

The number of Microseconds (one millionth of a second or 1,000,000 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.Microseconds

' Do a long-running process here

Dim finished As Double = Xojo.System.Microseconds
Dim elapsedSeconds As Double = (finished - start) / 1000000

Compatibility

All project types on all supported operating systems.