Time Function
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.
Tento prohlížeč se už nepodporuje.
Upgradujte na Microsoft Edge, abyste mohli využívat nejnovější funkce, aktualizace zabezpečení a technickou podporu.
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.