首页 > TAG信息列表 > todate
clickhouse日期类型转为字符类型
引用: https://cloud.tencent.com/developer/article/1987036 --字符转日期select '2022-01-05 09:58:00' str,toDate(str),toDateTime(str),toDate('2022-01-05') --日期转字符select now() dd,toYear(dd) "年",toQuarter(dd) "季度",toDayOfM