How to capture whole month from Date picker calendar

  1. I need a select whole month from the popup calendar and every end of the month I need a select previous month (range 1 to 30 or 31)

Hi @DinukaThilakarathne,

Try the below code to get start date and end date of current month

startDate = New DateTime(Now.Year, Now.Month, 1)
endDate = startDate.AddMonths(1).AddDays(-1)
1 Like

Hi @aanandsanraj

How can we use this activity? can it’s used for screen recording

Thank you

Create two variable and use assign activity to set the value

Try this