i want to change the DateTime for MySQL in C#
my MySQL database only accept this format 1976-04-09 22:10:00
.
in C# i have a string who have a date value
string str = "12-Apr-1976 22:10";
i want to convert for MySQL then it look like
1976-04-12 22:10
How i can change them or how other programmer do this by using dd mm hh yy
method? Are anyone tell me about them.