todayAsDateTime method

DateTime todayAsDateTime ()

Implementation

static DateTime todayAsDateTime() {
  DateTime now = DateTime.now();
  return DateTime(now.year, now.month, now.day);
}