Search DaTutorials:  
HOME
VB Script Tutorials
Introduction
Reference
Tutorials

Second Function

Returns a whole number between 0 and 59, inclusive, representing the second of the minute.

Second(time)

The time argument is any expression that can represent a time. If time contains Null, Null is returned.

Remarks

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

Version 1

See Also

Day Function | Hour Function | Minute Function | Now Function | Time Function


     Personal Finance | Car Insurance | Loans | Savings Accounts | Teen Chat
Home     Link To Us     Ad With Us     Contact Us     Tell A Friend     Affiliates     Blog     MsOfficeHelp