Time Function

Office VBScript

Microsoft® Visual Basic® Scripting Edition Time Function  Language Reference 
Version 1 


Description
Returns a Variant of subtype Date indicating the current system time.
Syntax
Time
Remarks
The following example uses the Time function to return the current system time:
Dim MyTime
MyTime = Time    ' Return current system time.