getDateString static method
Utils function to retrieve the date string format from a DateTime object
Implementation
static String getDateString(DateTime datetime) {
return "${datetime.day} - ${Constants.monthlyName()[datetime.month]} - ${datetime.year}";
}