Time Function
Returns a Variant of subtype Date indicating the current system time.
Time
Remarks
The following example uses the Time function to return the current system time:
Dim MyTime
MyTime = Time ' Return current system time.
Den här webbläsaren stöds inte längre.
Uppgradera till Microsoft Edge och dra nytta av de senaste funktionerna och säkerhetsuppdateringarna, samt teknisk support.
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.