Microsoft® Visual Basic® Scripting Edition Time Function |
Language Reference Version 1 |
Returns a Variant of subtype Date indicating the current system time.
Time
The following example uses the Time function to return the current system time:Dim MyTime MyTime = Time ' Return current system time.