| |
GeekInterview.com > Interview Questions > Microsoft > VB.NET
| Print | |
Question: VB.NET Date conversion
Answer: how to convert mm/dd/yyyy to dd/mm/yyyy. |
| August 08, 2008 09:38:29 |
#2 |
| pradhib.l |
Member Since: August 2008 Total Comments: 5 |
RE: VB.NET Date conversion |
By using format function, suppose your regional settings is (system date is the format of mm/dd/yyy) Dim s1 As String s1 = System.DateTime.Today.Date ''//format of sys date mm/dd/yyyy s1 = Format(CDate(s1), "dd /MM/ yyyy") MsgBox(s1) i think it is useful. |
| |
Back To Question | |