withoutTime function

DateTime withoutTime(
  1. DateTime time
)

Implementation

DateTime withoutTime(DateTime time) =>
    DateTime(time.year, time.month, time.day, 0, 0, 0, 0, 0);