getMinutes
Commons
stable
Returns the minutes component (0–59) of a Date object. Thin semantic wrapper around Date.prototype.getMinutes().
API
Signature
Full TypeScript signature sourced from the util file.
API
Parameters
Input parameters accepted by this util.
- daterequiredDate
- The Date instance from which to extract the minutes.
API
Return value
The value returned by this util.
- An integer between 0 and 59 representing the minute of the hour.
Usage
Examples
Ready-to-paste usage snippets.
Extract minutes from a date