Hello to all,
I can not assign the date to the editbox.
Can anyone help me?
thanks
I can not assign the date to the editbox.
Can anyone help me?
thanks
B4X:
Sub Button1_Click
Dim j As String
Dim dd As DateDialog
dd.ShowCalendar=False
dd.Year = DateTime.GetYear(DateTime.Now)
dd.Month = DateTime.GetMonth(DateTime.Now)
dd.DayOfMonth = DateTime.GetDayOfMonth(DateTime.Now)
j=dd.Show("Inserisci la data", "Data", "OK", "", "", Null)
ToastMessageShow(dd.DayOfMonth & "/" & dd.Month & "/" & dd.Year , False)
EditText2.Text=j
End Sub