singleFormatDate function
- {required String? startDateTime}
Implementation
String singleFormatDate({required String? startDateTime}) {
DateTime dateTime = DateTime.parse(startDateTime.validate());
final startDay = DateFormat('d').format(dateTime);
return "${DateFormat('MMMM').format(dateTime)} $startDay";
}