onlyYearMonthDay property

DateTime onlyYearMonthDay

returns this DateTime without the time information

Implementation

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