Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Returns a whole number between 0 and 59, inclusive, representing the second of the minute.
Syntax
Second(time)
Remarks
The time argument is any expression that can represent a time. If time contains Null, Null is returned.
The following example uses the Second function to return the current second:
Dim MySec
MySec = Second(Now)
' MySec contains the number representing the current second.
Requirements
See Also
Day Function
Hour Function
Minute Function (VBScript)
Now Function
Time Function