getDayOfYearByMs static method

int getDayOfYearByMs(
  1. int ms, {
  2. bool isUtc = false,
})

get day of year. 在今年的第几天.

Implementation

static int getDayOfYearByMs(int ms, {bool isUtc = false}) {
  return getDayOfYear(DateTime.fromMillisecondsSinceEpoch(ms, isUtc: isUtc));
}