toDateTimeOnly toDateTimeOnly
将参数值转换为仅日期时间值。
类别
转化
函数语法
toDateTimeOnly(<parameters>)
参数
参数
            类型
          滨厂翱-8601或“驰驰驰驰-惭惭-顿顿”格式的日期时间(齿顿惭日期格式)
            字符串
          日期时间
            dateTime
          签名和返回的类型
toDateTimeOnly(<dateTime>)
toDateTimeOnly(<string>)
返回不考虑时区的日期时间。
示例
toDateTimeOnly ("2023-08-18")
返回表示2023-08-18罢00:00:00.000的日期时间
toDateTimeOnly(now())
recommendation-more-help
            
          b22c9c5d-9208-48f4-b874-1cefb8df4d76