How to get the date value of first day of previous month?

Hi,

Hope the following expression helps you.

Date_FirstOfPreviousMonth = new DateTime(Date_Now.Year,Date_Now.Month,1).AddMonths(-1)

Regards,

5 Likes