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.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
DhanasekarRank #3,343 · 430 reputationPosted Aug 24, 2015, 12:58 AM EDT
Viral Patel37 reputationPosted Aug 24, 2015, 1:02 AM EDT
Rajeesh MenothRank #118 · 18.4K reputationPosted Aug 24, 2015, 1:26 AM EDT
Munesh SharmaRank #174 · 13.9K reputationPosted Aug 24, 2015, 2:01 AM EDT
DateTime dt = DateTime.Now;
string format = "dd-mm-yyyy";
string dtTObeInsertedInSQL = dt.ToString(format);
Rajeesh MenothRank #118 · 18.4K reputationPosted Aug 24, 2015, 2:03 AM EDT