Skip to main content

RFC 1123 String to Timestamp (utils.date_from_rfc1123)

Declaration​

ts = utils.date_from_rfc1123(rfc1123)

Parameters​

  • rfc1123
    String. RFC 1123 formatted time string.

Returns​

  • ts
    Number. Unix timestamp.

Description​

Available after 2025-02-20.

Examples​

nLog(utils.date_from_rfc1123("Mon, 09 Jun 2025 17:40:00 GMT")) -- 1749490800.0