out =
seconds (x)
¶Create a duration
x seconds long, or get the seconds in a duration
x.
If input is numeric, returns a duration
array that is that many seconds in
time.
If input is a duration
, converts the duration
to a number of seconds.
Returns an array the same size as x.