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
Signature TypeScript complète, extraite du fichier util.
API
Paramètres
Paramètres d'entrée acceptés par cet util.
- daterequisDate
- A JavaScript Date instance from which the day-of-month is extracted.
API
Valeur de retour
La valeur retournée par cet util.
- Integer between 1 and 31 representing the day of the month.
Usage
Exemples
Extraits de code prêts à coller.
Extract day of month