getFirstDateOfMonth static method

DateTime getFirstDateOfMonth()

Implementation

static DateTime getFirstDateOfMonth() {
  var now = DateTime.now();

  var data = new DateTime(now.year, now.month, 1);
  return data;
}