toDay static method

int toDay(
  1. int timeMills
)

Converts milliseconds since epoch to the day of the month.

Implementation

static int toDay(int timeMills) {
  return DateTime.fromMillisecondsSinceEpoch(timeMills).day;
}