convert ISO 8601 to dd-mm-yyyy t-sql code example Example: sql convert date to string yyyy-mm-dd select CONVERT(char(10), GetDate(),126) /* 2020-12-23 */