I have a MySQL database with a certain field that contains a date.
How can I convert it to a C# DateTime object?
DateTime
And how do I convert a C# Dat
Dat
in database mysql yyyy-mm-dd
yyyy-mm-dd
so
string date = DateTime.Now.ToString("yyyy-MM-dd");