static String getDayMonthYear(DateTime dateTime) { var formatter = DateFormat('dd MMM, yyyy'); return formatter.format(dateTime.toLocal()); }