formatDateMs static method

String formatDateMs(
  1. int ms, {
  2. bool isUtc = false,
  3. String? format,
})

format date by milliseconds. milliseconds 日期毫秒

Implementation

static String formatDateMs(int ms, {bool isUtc = false, String? format}) {
  return formatDate(getDateTimeByMs(ms, isUtc: isUtc), format: format);
}