syntax error, missing semicolon on date format declaration