View Single Post
  #2 (permalink)  
Old March 11th, 2004, 05:37 AM
jaucourt jaucourt is offline
Friend of Wrox
 
Join Date: Jul 2003
Location: York, , United Kingdom.
Posts: 142
Thanks: 0
Thanked 2 Times in 2 Posts
Default

  Dim mydate As Date = CType(Me.DateTimePicker1.Text, Date)
  Dim myStringDate As String = mydate.Day.ToString & "/" & _
     MonthName(mydate.Month, True).ToString & "/" & _
     mydate.Year.ToString.Substring(2, 2)

myStringDate should be what you need, you can adjust the delimiter as needed.

Reply With Quote