startOfMonth property

DateTime get startOfMonth

Returns the start of the month (1st day at 00:00:00.000000).

Implementation

DateTime get startOfMonth =>
    isUtc ? DateTime.utc(year, month, 1) : DateTime(year, month, 1);