toDateTimeText method

String toDateTimeText()

Implementation

String toDateTimeText() {
  try {
    final date = DateTime.fromMillisecondsSinceEpoch(this, isUtc: true);
    var format = JFormatter.dateTime.format(date.toLocal());
    return format;
  } catch (ex) {
    jLog.e(ex);
    return JFormatter.dateTime.toString();
  }
}