check date formatting