Dear all ,
i have a string that is like --11/02/2016
now in my database i have the date column with datatype datetime,
so i want to convert these string into datetime .so please help me in c# .
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
Kunal PatelRank #1,359 · 1.2K reputationPosted Mar 16, 2016, 4:40 AM EDT
Convert.ToDateTime(yourstring)
Amit Kumar SinghRank #562 · 4.3K reputationPosted Mar 16, 2016, 4:48 AM EDT
Prasad BhagatRank #3,426 · 422 reputationPosted Mar 16, 2016, 4:55 AM EDT
Prasad BhagatRank #3,426 · 422 reputationPosted Mar 16, 2016, 4:55 AM EDT
Kunal PatelRank #1,359 · 1.2K reputationPosted Mar 16, 2016, 5:11 AM EDT