c# datetime minvalue sql server code example Example: c# get sql min date DateTime minDate = System.Data.SqlTypes.SqlDateTime.MinValue.Value;