sarit man

sarit man

  • NA
  • 3
  • 637

Is it possible to convert a date type to a numeric type in c

Dec 8 2019 7:13 AM
I need to compare a double type with a datetime type.
I tried to convert in this way:
Convert.ToDouble(DateTime.Today - item1.BornDate) 
but there is a compilation error

Answers (2)