getDate
Commons
stable
Returns the day of the month (1–31) for a given Date object. Thin wrapper around Date.prototype.getDate() used by the Calendar component.
API
Signature
Full TypeScript signature sourced from the util file.
API
Parameters
Input parameters accepted by this util.
- daterequiredDate
- A JavaScript Date instance from which the day-of-month is extracted.
API
Return value
The value returned by this util.
- Integer between 1 and 31 representing the day of the month.
Usage
Examples
Ready-to-paste usage snippets.
Extract day of month