date property

DateTime get date

Returns only year, month and day

Implementation

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