"500ms", "30s", "5m", "1h", "24h", "7d".
Parameters
input
Duration
The duration value to parse.
Returns
number
The duration in milliseconds.
Throws
"amount_unparseable" if the input can’t be parsed."500ms", "30s", "5m", "1h", "24h", "7d".
Duration
The duration value to parse.
number
The duration in milliseconds.
"amount_unparseable" if the input can’t be parsed.