Hi I got the date field and need to display dd-MMM-yyyy but it display wrongly by switching the month and day
ASP.NET
DateTime dt = DateTime.ParseExact("2015-04-08", "yyyy-MM-dd", CultureInfo.InvariantCulture);
RLDC Report
=Format(Cdate(First(Fields!DOB.Value, "SIDocument_iLifeLead")),"dd-MMM-yyyy")
Final Output: 04-Aug-2015 it should be 08-Apr-2015
Please help. Thanks