Returns the second of the datetime or time.

Declaration

SECOND(datetime) -> second
SECOND(time) -> second

Parameters

datetime (type: datetime)
A datetime value to retrieve the second for.
time (type: time)
A time value to retrieve the second for.

Return Values

second (type: number)
The second.

Was this article helpful?

0 out of 0 found this helpful

Add comment

Please sign in to leave a comment.