Please help me with the issue . I have tried lot many solution and they are not working .
rd["DOB"].ToString() = "9/19/1946"; DateTime dt1 = DateTime.ParseExact(rd["DOB"].ToString(), "MM/dd/yyyy", System.Globalization.CultureInfo.InvariantCulture); You can refer below URL for more grasp on date time format http://msdn.microsoft.com/en-us/library/az4se3k1.aspx