Time

$toSeconds[duration]

How many seconds are in a time span. Use it to compare spans like 90m and 1h.

Values

duration
A time span like 90s, 10m, 1h 30m, 2d or 1w.

Example

$toSeconds[1h 30m]

5400

All functions