i require a function in vb.net which reverses the given date
can anyone help me,thank u
Loading
Virtual. Every session is recorded and published here on CSharp TV.
Answer a question in the forums and earn +2 points for every reply.
Ask a questioni 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.
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.
AlanPosted Jun 4, 2007, 9:22 AM
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