Date Insert datbase in dd/MM/yyyy format .
How to fetch this date details using database .
date input in textbox this formate: dd/MM/yyyy
Ex:22-08-2015
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Rajeesh MenothPosted Aug 24, 2015, 6:03 AM
Munesh SharmaPosted Aug 24, 2015, 6:01 AM
DateTime dt = DateTime.Now;
string format = "dd-mm-yyyy";
string dtTObeInsertedInSQL = dt.ToString(format);
Rajeesh MenothPosted Aug 24, 2015, 5:26 AM
Viral PatelPosted Aug 24, 2015, 5:02 AM
DhanasekarPosted Aug 24, 2015, 4:58 AM