Ramco Ramco

Ramco Ramco

  • 441
  • 3.4k
  • 522.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)