Oslo

Timespan.seconds()

Returns the time-span in seconds.

Definition

function seconds(): number;

Example

// 60 * 60 = 3600 s
new TimeSpan(1, "h").seconds();