![]() |
Admin 2/12/2019 |
You need to convert data["LastSynch"] to string first and then to date. Something like this: DateTime.Parse(data["LastSynch"].ToString())
|
T
|
Tim author 2/13/2019 |
Thank you! I understood what was needed in concept, but I was unaware of DateTime.Parse. And my Google search of "asp.net c# variable to date" wasn't helpful. Thanks also for the Google search hint. I now know everything I ever wanted to know (and some) about strings to dates. |