today method

DateTime today()

Returns a new DateTime object representing the current date at midnight (00:00:00).

Implementation

DateTime today() {
  return DateTime(year, month, day);
}