In Access, the Second function returns a number between 0 and 59, inclusive, representing the second of the minute of the hour.
The syntax for the Second function is:
Second ( time )
The required time argument is any numeric or string expression, that can represent a time. If number is Null, this function returns a Null.
Examples
|
VBA Code
|
This example uses the Second function to obtain the second of the minute from a specified time. Now the MySecond variable would contain the value of 27.
SQL query
You can also use the Second function in a query.
|