Aller au contenu principal

Convertir un texte au format RFC 3339 en horodatage (utils.date_from_rfc3339)

Déclaration

timestamp = utils.date_from_rfc3339(rfc3339)

Paramètres

  • rfc3339
    Type texte, texte temporel au format RFC 3339

Valeur de retour

  • timestamp
    Type numérique, horodatage

Description

Disponible dans les versions postérieures à 20250220.

Exemple

nLog(utils.date_from_rfc3339("2025-06-09T17:40:00.000Z")) -- Sortie : 1749490800.0