hey guys help me pls, i want to format datetime of 8/26/2012 6:59:40 PM to this 2012-08-26 19:43:39 so that i could insert it to mysql database. In C# code pls
hey guys help me pls, i want to format datetime of 8/26/2012 6:59:40 PM to this 2012-08-26 19:43:39 so that i could insert it to mysql database. In C# code pls
VulpesPosted Aug 26, 2012, 9:02 AM
string date = dt.ToString("yyyy-MM-dd HH:mm:ss");