メインコンテンツまでスキップ

RFC 1123 形式の日時文字列をタイムスタンプに変換 (utils.date_from_rfc1123)

宣言

timestamp = utils.date_from_rfc1123(rfc1123)

パラメータ

  • rfc1123
    文字列型。RFC 1123 形式の日時文字列

戻り値

  • timestamp
    数値型。タイムスタンプ

説明

この関数は 20250220 以降のバージョンで使用できます

使用例

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