second
Seconds component of input date and time
Description
s = second(
returns the seconds
component for each date and time specified in t
)t
. The seconds
component of a date and time can include a fractional part.
The s
output is a double
array and
contains values from 0 to less than 60. To assign values to the seconds
components of values in t
, use t.Second
and modify the Second
property.
s = second(
returns the type of seconds of t
,secondType
)datetime
array
t
, specified as either
"secondofminute"
or
"secondofday"
.