toDateTime toDateTime
パラメーターをタイプに応じて日時値に変換します。
カテゴリ
変換
関数の構文
toDateTime(<parameters>)
パラメーター
パラメーター
            タイプ
          ISO-8601 形式の日時
            文字列
          タイムゾーン ID
            文字列
          タイムゾーンを含まない日時
            日時のみ
          エポックのミリ秒単位の整数値
            整数
          NOTE
          タイムゾーン ID は文字列定数である必要があります。フィールド参照や式は使用できません。データタイプについて詳しくは、このページを参照してください。
          シグネチャと戻り値のタイプ
toDateTime(<string>)
toDateTime(<stringified time zone id>, <dateTimeOnly>)
toDateTime(<integer>)
dateTime を返します。
例
toDateTime ("2023-08-18T23:17:59.123Z")
2023-08-18T23:17:59.123Z を返します
toDateTime(toDateTimeOnly("UTC", "2023-08-18T23:17:59.123"))
2023-08-18T23:17:59.123Z を返します
toDateTime(1560762190189)
2023-06-17T09:03:10.189Z を返します
recommendation-more-help
            
          b22c9c5d-9208-48f4-b874-1cefb8df4d76