now
La fonction now() retourne l'instant exact courant sous forme de TheDate (timestamp Unix positif).
Exemple interactif
Syntaxe
typescriptfunction now(): TheDate
1
Paramètres
Aucun.
Valeur de retour
Un TheDate représentant le moment courant.
Voir aussi
Sources