second
Seconds part of the input date and time.
📝 Syntax
s = second(t)
s = second(t, formatIn)
📥 Input argument
t - serial date number or text inputs
formatIn - valid date format
📤 Output argument
s - a double: integer value.
📄 Description
s = second(t) extracts the second component from each date and time specified int.
The outputs is a double array containing integer values ranging from 0 to 59.
💡 Example
🔗 See also
🕔 History
Version
📄 Description
1.10.0
initial version
Last updated
Was this helpful?