date property

DateTime date

Returns only year, month and day

Implementation

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