secondOfMinute

Syntax

secondOfMinute(X)

Arguments

X is a scalar/vector of type TIME, SECOND, DATETIME, TIMESTAMP, NANOTIME or NANOTIMESTAMP.

Details

For each element in X, return a number from 0 to 59 indicating which second of the minute it falls in.

Examples

$ secondOfMinute(12:32:00);
0

$ secondOfMinute([2012.06.12T12:30:00,2012.10.28T12:35:00,2013.01.06T12:36:47,2013.04.06T08:02:14]);
[0,0,47,14]