i require a function in vb.net which reverses the given date
can anyone help me,thank u
About date function
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.
i require a function in vb.net which reverses the given date
can anyone help me,thank u
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
AlanRank #669 · 3.6K reputationPosted Jun 4, 2007, 5:22 AM EDT
Dim dateString As String = "05/31/2006"
Dim dt As DateTime = DateTime.Parse(dateString)
Dim reverseDateString = dt.ToString("yyyy/dd/MM") ' produces 2006/31/05