dateToDayOfMonth static method

String dateToDayOfMonth(
  1. String date
)

Implementation

static String dateToDayOfMonth(String date) {
  DateTime dateTime = DateTime.parse(date).toLocal();
  return DateFormat.d().format(dateTime);
}