getMinutes

Commons
stable

Returns the minutes component (0–59) of a Date object. Thin semantic wrapper around Date.prototype.getMinutes().

API

Signature

Signature TypeScript complète, extraite du fichier util.

typescript

API

Paramètres

Paramètres d'entrée acceptés par cet util.

date
requis
Date
The Date instance from which to extract the minutes.

API

Valeur de retour

La valeur retournée par cet util.

An integer between 0 and 59 representing the minute of the hour.

Usage

Exemples

Extraits de code prêts à coller.

Extract minutes from a date

typescript