getDay static method

String getDay(
  1. int timeInMillis
)

Implementation

static String getDay(int timeInMillis) {
  try {
    DateTime date = DateTime.fromMillisecondsSinceEpoch(timeInMillis);
    return DateFormat.E().format(date);
  } catch (e) {
    return '';
  }
}