sql server select date from datetime column code example Example: ms sql select datetime as date select cast(started_datetime as date) from table;