TDengine icon indicating copy to clipboard operation
TDengine copied to clipboard

Could TDengine support the date_format function?

Open ulike opened this issue 3 years ago • 0 comments

where条件带TIMETRUNCATE报错,希望增加日期转字符串函数,比如想要查询某月的数据,目前只能传入这个月第一天和最后一天进行where查询。如果有日期转字符串函数会很方便,例如:date_format(ts,'%Y-%m') = ‘2022-08’;

ulike avatar Aug 01 '22 06:08 ulike