I even copy the DesktopDateTimePicker text page and paste it in TextEdit, then search for day:
there is no property with that name.
I do not searhced for Month or Year.
How do I change the Day # in code (specifically in a Loop).
More, when I set the last day of the month, adding 1 to the Day number goes to the first day of the next Month ?
That is the prefered code Gemini gave me:
Dim d As New Date
d.Year = MyDateTimePicker.Date.Year // Keep the same year
d.Month = MyDateTimePicker.Date.Month // Keep the same month
d.Day = 15 // Set the desired day (e.g., the 15th)
MyDateTimePicker.Date = d
Please, when finished to laugh, give me in answer.
Searching in Vain may be a good title for a song…
5 posts - 4 participants