Date entry - previous month

using Assign activity StartDate = New DateTime(Now.Year, Now.Month-1, 1) to get previous month entry, which is working perfectly,

2021, Jan, 01 to 2020 to 2020, December, 01, how to make it possible?

When now.month = “01” does above condition will work for December. I suppose it can’t, due to Now.Year represent the current which can’t select 2020 after December. Requesting for help.

have a look here:
grafik
so from january we will get december in case of subtracting 1 month

@kotiswaran

Welcome to forums

When ever you call Now then it contains the actual full Date

You are calling a property of the Now

Check below for understanding this property

Hope this clears you

Follow Link

Thanks