CONVERT IN SQL DATEHOURMINUTE FROM string TO DATE code example Example: sql server convert string to date Cast( '2011-07-07' as date ) as convertedDate