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
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Asad AliPosted Dec 9, 2019, 2:47 AM
Dinesh GabhanePosted Dec 8, 2019, 8:43 AM