startOfMonth property

DateTime startOfMonth

Get a DateTime representing start of month of this DateTime in local time.

Implementation

DateTime get startOfMonth => clone.setDay(1, 0, 0, 0, 0, 0);