toMonth static method

int toMonth(
  1. int timeMills
)

Implementation

static int toMonth(int timeMills) {
  return DateTime.fromMillisecondsSinceEpoch(timeMills).month;
}