3
Answers

Error - Cannot implicitly convert type string to system.date.time

Photo of Ramco Ramco

Ramco Ramco

2y
763
1

Hi

   DateTime frDate = Utility.CurrentDateTime().AddMonths(-1);

   frDate = Convert.ToDateTime(frDate).ToString("dd-MM-yyyy");

Thanks

Answers (3)