Hi @sruthesanju
Please try this function to get the date.
get today’s date
today = DateTime.Now
get the previous month from today’s date
prevMonth = today.AddMonths(-1)
Hi @sruthesanju
Please try this function to get the date.
today = DateTime.Now
prevMonth = today.AddMonths(-1)