static String dateTimeToPattern(DateTime dTime, String pattern) => DateFormat(pattern).format(dTime);