getMounth function

String getMounth(
  1. DateTime dateTime,
  2. String local
)

Implementation

String getMounth(DateTime dateTime, String local) {
  DateFormat dateFormat = DateFormat('MMN', local);
  return dateFormat.format(dateTime);
}