How to get specific date from month and year

Hi All,

how to get specific date, for example

i want 03.11.2023 from 11.2023, where 03 is a variabel in which the value can be change

Hi,

Can you clarify which type are input and expected output?

if both string type, the following will work.

varStrDay+".11.2023"

Regards,

1 Like

@Suastrian_Dika
lets say 03.11.2023 is in a variable called str

you can get 03 by using
DateTime.parseExact(str, "dd.MM.yyyy", nothing).day

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.