| |
GeekInterview.com > Interview Questions > Microsoft > VB.NET
| Print | |
Question: VB.NET Date conversion
Answer: how to convert mm/dd/yyyy to dd/mm/yyyy. |
| May 05, 2008 11:22:38 |
#1 |
| brajendra_mishra |
Member Since: May 2008 Total Comments: 1 |
RE: VB.NET Date conversion |
DateTimePicker1.Format = DateTimePickerFormat.Custom DateTimePicker1.CustomFormat = "MM-dd-yyyy" DateTimePicker1.Text = Now MsgBox(DateTimePicker1.Text) DateTimePicker1.CustomFormat = "dd-MM-yyyy" 'DateTimePicker1.Text = Now MsgBox(DateTimePicker1.Text)
Try this |
| |
Back To Question | |