$parseTime
$parseTime
will convert any human time to milliseconds.
Usage
Parameters
Field | Type | Description | Required |
---|---|---|---|
time | string | The time that will be converted to ms . | true |
Example(s)
This will convert 69 minutes
to milliseconds and return 4140000
:
This will convert 1w 2d 20m
to milliseconds and return 778800000
: