minutesToMilliseconds()
Returns the number of years equal to the given number of months.
Usage
import { minutesToMilliseconds } from 'easy-dates';
minutesToMilliseconds(minutes);
Prop types
prop | type | required | default |
---|---|---|---|
minutes | number | yes | null |
Examples
minutesToMilliseconds(1); // 60000
minutesToMilliseconds(0.5); // 30000