Time function

Category: Date & Time

Summary

Current time.

Syntax

Returns a Variant (Date) indicating the current system time.

Example

Remarks
To set the system time, use the Time statement.

Microsoft Support Page

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

Back to Functions