Hi, Erel
Thanks for reply. As you see I use dd.DateTicks in previous code.
Well I have wrote small code which shows that problem or bug is not in DateDialog. Code shows that problem is in counting in DateTime.parse of day_of_month.
dd.DayOfMonth shows correct day, but after using DateTime.DateParse It's again shows one day behind.
Also I tried to run code on emulator on version Android 2.2. x there is no problem. It's seems to me it's only appearing on versions 2.3.x
===================
Sub dateset
Dim dd As DateDialog 'here Dialog v.2.91 library needs
Dim result As Long
Dim result2 As Int
DateTime.DateFormat="dd.MM.yyyy"
dd.SetDate(25,9,1970)
dd.show("Set Date please", "DATE DIALOG", "Ok","cancel","",Null)
result=DateTime.DateParse(dd.DayOfMonth&"."&dd.Month&"."&dd.Year)
result2=Msgbox2(DateTime.Date(result),"That is Date "&dd.DayOfMonth&"."&dd.Month&"."&dd.Year,"Ok","cancel","",Null)
If result2<>-1 Then dateset
End Sub
================
I understand that is not interesting to analize problems of very old Android versions But I just need the suggestion of workaround.
Thanks