onlyYearMonthDay property

DateTime get onlyYearMonthDay

returns this DateTime without the time information

Implementation

DateTime get onlyYearMonthDay => DateTime(year, month, day);