Get number of days in certain month/s

Lets say we need to get number of days for 3 months.

Given data is 1/1/2019 is the start date.

Output should be: 90
Explanation-
Jan: 31 days
Feb: 28 days
Mar:31 days
Total: 90 days

So if i specify 4 months, need to include days in April which is 30. Should be 120 now for the output.

1 Like

hi @Jerome_Cabutotan1,

Welcome to UiPath Forum.

you can use the function in daysinmonth where you have to provide Year and month so you will get the number of days of that month.

so you can build you logic as your your requirement like 3 months/ 90 days

Cheers
Venky

1 Like

Hi @Jerome_Cabutotan1,

Welcome to UiPath Forum Community.

Here I have attached the sample project for you.

Sample : Jerome_Cabutotan1.zip (2.2 KB)

Regards
Balamurugan.S

3 Likes

is just me or the attached has no xaml file? It only contains json upon opening.

1 Like

Hi,
I have updated the attachment. Can you check it now…

Regards
Balamurugan.S

1 Like

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