SELECT CONVERT(varchar(10), CONVERT(date, '13/12/2016', 103), 120)
select CONVERT(char(10), GetDate(),103)
/* 30/06/2021 */
SELECT FORMAT (getdate(), 'dd-MM-yy') as date
GO
select REPLACE(convert(varchar, getdate() , 20), ' ', 'T')
set dateformat dmy;
select PersonalDetails_DOB
,convert(nvarchar(10), cast(PersonalDetails_DOB as datetime), 102) as ANSI_DOB
,convert(nvarchar(10), cast(PersonalDetails_DOB as datetime), 120) as ODBC_DOB
from Users;