Quantcast
Channel: Xojo Programming Forum - Latest topics
Viewing all articles
Browse latest Browse all 3688

DesktopDateTimePicker: where can I change the day #kdsjfksj

$
0
0

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… :frowning:

5 posts - 4 participants

Read full topic


Viewing all articles
Browse latest Browse all 3688

Trending Articles