The DATETIME format in SQL servers is below: YYYY-MM-DD hh:mm:ss Below is an example: 2019-08-20 YYYY-MM-DD hh:mm:ss<--> 2019-08-20