formatSimpleDate function

String formatSimpleDate(
  1. DateTime date
)

date를 yyyy. MM. dd. 형식으로 바꾼다.

Implementation

String formatSimpleDate(DateTime date) {
  return DateFormat("yyyy. MM. dd.").format(date);
}