convertFormatFromDateTime method
Implementation
String convertFormatFromDateTime(DateTime date,
{String format = "dd MMMM yyyy, HH:mm", String locale = "id_ID"}) {
DateFormat newFormat = DateFormat(format, locale);
return newFormat.format(date);
}