Date selection

What is the script to choose 1st date of current month ?

Try this: DateTime.Now.AddDays((DateTime.Now.Day-1)*(-1)).Date.ToLongDateString

Try this
dateTime beginDate = new DateTime(now.Year,now.Month,1)

Thanks & Regards
Farhan

1 Like

Hi
Please follow below tutorials