getFormatedMonthAndYear method

String getFormatedMonthAndYear(
  1. dynamic timeToFormat
)

Implementation

String getFormatedMonthAndYear(timeToFormat) {
  return DateFormat("MMM - yyyy").format(
      DateFormat("yyyy-MM-ddThh:mm:ss").parse(timeToFormat.toString()));
}