[sql-server] How to get a date in YYYY-MM-DD format from a TSQL datetime field?