I am working on snowflake query where I am having a column(DATE) having data in form of ddmmyyyy(20211117 00:00:00). I need to convert this data into dd-mm-yyyy(2021-11-17 00:00:00.000 ) format. I used the TO_DATE(DATE,'YYYY-MM-DD') expression but it doesn't work for me. Can somebody help me on this issue