Android Question How to show calendar with month and year?

Sreenadh OG

Member
Licensed User
hai,
I have a code as following...
B4X:
dob.Year = DateTime.GetYear(DateTime.Now)
        dob.Month = DateTime.GetMonth(DateTime.Now)  
        dob.DayOfMonth = DateTime.GetDayOfMonth(DateTime.Now)
        dob.Show("Enter The Month And Year", "Listed Case", "OK", "", "",bmp1)
        strDate= DateTime.Date(dob.DateTicks)
        txtListMonthYr.Text=strDate
This code will show..
Cal.JPG

But I want to get only month and year..
 
Top