Parse date by format
DateTime dateByFormat(String format) { DateFormat formatter = DateFormat(format); return formatter.parse(this); }