startOfDay property

DateTime get startOfDay

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

Implementation

DateTime get startOfDay => clone.setHour(0, 0, 0, 0, 0);