firstDayOfMonth property

DateTime firstDayOfMonth

Returns a DateTime representing the first day of the month for this DateTime.

Implementation

DateTime get firstDayOfMonth => DateTime(year, month);