String convertDateToString(DateTime date, {String pattern = PATTERN_2}) { return DateFormat(pattern).format(date); }