mssql hibernatecritera fetch date from datetime data code example Example: sql datetime as date SELECT CONVERT(DATE, GETDATE()) date;