Skip to content

yesterday ​

La fonction yesterday() retourne now() - 1 jour sous forme de TheDate.

Exemple interactif ​

Syntaxe ​

typescript
function yesterday(): TheDate

Paramètres ​

Aucun.

Valeur de retour ​

Un TheDate représentant un instant environ un jour avant maintenant.

Voir aussi ​

Sources ​

Diffusé sous licence MIT.