How do I get the first of the current Month and Year into a DateTime variable?
I can get the current date by saying:
FromDate = DateTime.Today;
I've been playing arround with trying to set the Day
parameter of Today
and getting the Month
and Year
parameters for Today
to create a new DateTime
, but can't seem to get it right.