Cdate & dd/mm/yyyy or mm/dd/yyyy

Hi

When I writeline the below, I get 01/06/2020. Does Uipath interpret the 06 as the month or the day? I need to know as I am doing some condition for date range. Thank you.

Cdate(“01-”+(latest_mth.ToString)+"-"+(latest_year.ToString)).ToString

@Anonymous2

01/06/2020 - Will interpert the 6 as Day, If you want to see it as month, then you need to split and reassign like below

Mark as solution if this helps

Thanks

1 Like

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