sql server datetime field code example Example: sql server date field syntax DATE - format YYYY-MM-DD