Skip to main content

RFC 3339 String to Timestamp (utils.date_from_rfc3339)

Declaration

ts = utils.date_from_rfc3339(rfc3339)

Parameters

  • rfc3339
    String. RFC 3339 formatted time string.

Returns

  • ts
    Number. Unix timestamp.

Notes

Available after 2025-02-20.

Examples

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