将参数值转换为仅日期时间值。
转化
toDateTimeOnly(<parameters>)
参数 | 类型 |
---|---|
ISO-8601或“YYYY-MM-DD”格式的日期时间(XDM日期格式) | 字符串 |
日期时间 | dateTime |
toDateTimeOnly(<dateTime>)
toDateTimeOnly(<string>)
返回不考虑时区的日期时间。
toDateTimeOnly ("2016-08-18")
返回表示2016-08-18T00的日期时间:00:00.000
toDateTimeOnly(now())