getFormatedDateDDMMYYYYT method

String getFormatedDateDDMMYYYYT(
  1. dynamic dateToFormat
)

Implementation

String getFormatedDateDDMMYYYYT(dateToFormat) {
  return DateFormat("dd-MM-yyyy").format(
      DateFormat("yyyy-MM-dd hh:mm:ss").parse(dateToFormat.toString()));
}