Ramco Ramco

Ramco Ramco

  • 439
  • 3.4k
  • 544.9k

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

Sep 21 2022 7:01 AM

Hi

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

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

Thanks


Answers (3)