String = 12/24/2015
Expected output =2016-02-01 ( need to add 9 days)
I am using this code = DateTime.ParseExact( str_Date,“yyyy-dd-MM”, System.Globalization.CultureInfo.InvariantCulture).AddDays(9)
DateTime.ParseExact(str_Date, “MM/dd/yyyy”, System.Globalization.CultureInfo.InvariantCulture).AddDays(9).ToString(“yyyy-MM-dd”)
“MM/dd/yyyy”---- you have to pass str_Date Format
“yyyy-MM-dd”-------Your Expected Format