renamed DATEFORMAT to DATE_FORMAT