Refactoring codes: dateutil.getDateAs14