formatDateInDateMonthNameyear static method

String formatDateInDateMonthNameyear(
  1. DateTime time
)

Formats a DateTime into 'MMM dd, yyyy' format. Example: 'Nov 29, 2023'.

Implementation

static String formatDateInDateMonthNameyear(DateTime time) {
  return DateFormat('MMM dd, yyyy').format(time);
  // DateFormat.jm
}