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

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

宣言

timestamp = utils.date_from_rfc3339(rfc3339)

パラメータ

  • rfc3339
    文字列型。RFC 3339 形式の日時文字列

戻り値

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

説明

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

使用例

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