curMonthAsInt top-level property

int curMonthAsInt

Returns current month as an int (January == 1 ... December == 12).

Implementation

int get curMonthAsInt {
  return DateTime.now().month;
}