Answers for "sql datetime format yyyy-mm-dd"

SQL
0

convert date to dd/mm/yyyy sql

select CONVERT(char(10), GetDate(),103)
/* 30/06/2021 */
Posted by: Guest on June-30-2021
0

sql convert date to string yyyy-mm-dd

select CONVERT(char(10), GetDate(),126)
/* 2020-12-23 */
Posted by: Guest on December-23-2020
0

sql server date format yyyy-MM-ddThh:mm:ss

select REPLACE(convert(varchar, getdate() , 20), ' ', 'T')
Posted by: Guest on June-25-2021

Code answers related to "sql datetime format yyyy-mm-dd"

Code answers related to "SQL"

Browse Popular Code Answers by Language