# BR-FXEXT-CII-DT-097a

Source: https://xmlvalid.com/rules/BR-FXEXT-CII-DT-097a

> Date time string with format attribute 205 shall be YYYYMMDDHHMMSS.

- Level: error
- Rule sets: Factur-X EXTENDED rules 1.09.2
- Context: `//udt:DateTimeString[@format = '205']`
- Test: `matches(., '^\s*(\d{4})(1[0-2]|0[1-9])(3[01]|[12][0-9]|0[1-9])([01][0-9]|2[0-3])[0-5][0-9]\s*$')`

Validate a document against these rules: https://xmlvalid.com/validate
