convert datetime to sql datetime c# code example Example: c# SqlDateTime to datetime DateTime dt = SqlDateTime.MinValue.Value;