Answers for "no overload for tostring() on datetime"

1

no overload for tostring() on datetime

DateTime? myDate = form.dteStartDate;
string sqlFormattedDate = myDate.Value.ToString("yyyy-MM-dd HH:mm:ss");
Posted by: Guest on April-03-2020

Browse Popular Code Answers by Language