Ramco Ramco

Ramco Ramco

  • 437
  • 3.4k
  • 542.8k

Use of unassigned local variable ActualActiondate

Jun 18 2023 1:05 PM

Hi 

  I am getting error on below code

DateTime? ActualActionDate;

ltrlDays.Text = (DateTime.Now - Convert.ToDateTime(ActualActionDate)).Days.ToString();

Thanks


Answers (2)