Table of contents
Collapse the table of content
Expand the table of content

Time Function

office 365 dev account|Last Updated: 6/12/2017
1 Contributor

Returns a Variant ( Date ) indicating the current system time. SyntaxTimeRemarks To set the system time, use the Time statement.


This example uses the Time function to return the current system time.

Dim MyTime
MyTime = Time    ' Return current system time.
© 2018 Microsoft