Timer function

Category: Date & Time

Summary

Seconds since midnight.

Syntax

Returns a Single representing the number of seconds elapsed since midnight.

Example

Remarks
In Windows, the Timer function returns fractional portions of a second. On the Macintosh, timer resolution is one second.

Microsoft Support Page

https://learn.microsoft.com/en-us/office/vba/language/reference/user-interface-help/timer-function

Back to Functions