duration

Methods

Method Reference: duration.seconds

duration: X = seconds (D)

Duration equivalent numeric values in seconds.

X = seconds (D) converts durations in D to the equivalent number of seconds. X is a double array of the same size as D.

Values containing a fractional portion less than 1 picosecond are rounded to the nearest picosecond.

Source Code: duration

Example: 1

As a duration method, seconds returns the duration expressed in seconds.

 d = minutes (2) + seconds (30)
d =
  duration

   2.5 min
 seconds (d)
ans = 150