Hello,
I would like to insert the maximum value of the integer in the day of DMY2Date function but cannot seem to figure it out.
Example:
Month1 is an integer and it is 3 and i know the last value for the day is 31 since it is march, but i want it to "generate" the last day of each selected month.
So if I use Date1 and i only have the year and the month, i want to get the last day of the month:
Month1 := 3 year1 := 2023 //To get the last day of the selected month and year Date1 := DMY2Date(Maxvalue,Month1,Year1) //Date1 becomes equal to 31/3/2023
Sorry if the question makes no sense and I will be removing it if it makes no sense,
Thank you