Synopsis A datetime value is syntactically incorrect.
Description datetime values have a rather complex format as described in Rascal:DateTime. Some errors in the format are treated as syntax errors, others generate the DateTimeSyntax error.

Remedy: Fix the datetime value.
Examples A correct datetime value:

Certain errors, like a wrong day number (here: 40) lead to a parse error:
                 ^ Parse error here
Others, like a wrong month number (here: 15) lead to a DateTimeSyntax error:

Is this page unclear, or have you spotted an error? Please add a comment below and help us to improve it. For all other questions and remarks, visit