getFirstDayOfMonth
La fonction getFirstDayOfMonth() renvoie le premier jour du mois (au format TheDate) pour la date fournie.
Exemple interactif
Syntaxe
typescript
function getFirstDayOfMonth<
GenericInput extends TheDate | SerializedTheDate
>(
input: GenericInput
): TheDateParamètres
input:TheDateouSerializedTheDate.
Valeur de retour
Un TheDate positionné sur le premier jour du mois (à minuit UTC).
