Exception thrown

DateTime::__construct(): Failed to parse time string (2022-31-05) at position 6 (1): Unexpected character