nextdreamblue commented on issue #13131: URL: https://github.com/apache/doris/issues/13131#issuecomment-1272446544
MySQL [(none)]> select month_floor('2021-12-22 01:02:03'); +------------------------------------+ | month_floor('2021-12-22 01:02:03') | +------------------------------------+ | 2021-12-01 00:00:00 | +------------------------------------+ 1 row in set (0.01 sec) MySQL [(none)]> select date_format(month_floor('2021-12-22 01:02:03'),'yyyy-MM-dd'); +-------------------------------------------------------------+ | date_format(month_floor('2021-12-22 01:02:03'), '%Y-%m-%d') | +-------------------------------------------------------------+ | 2021-12-01 | +-------------------------------------------------------------+ -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org