Dim arrDatePicker(100) As DatePicker
arrDatePicker(iDatePickerCounter).Mode=arrDatePicker(iDatePickerCounter).MODE_DATE
DateTime.DateFormat = "MM/dd/yyyy"
arrDatePicker(iDatePickerCounter).Ticks=DateTime.DateParse(sTestIdValue)
This code worked! I was able to set a date and format to Month, Day, and Year in the Picker Control
sTestValue=GetDate(arrDatePicker(i).ticks)
Public Sub GetDate(Ticks As Long) As String
Dim df As String = DateTime.DateFormat
DateTime.DateFormat = "MM/dd/yyyy"
Dim res As String = DateTime.Date(Ticks)
DateTime.DateFormat = df
Return res
End Sub
In other applications there will be done button to dismiss the picker in Iphone . In Ipad if we touch the out side area of picker it will be dismissed . How the do that ?