Search notes:

ORA-01843: not a valid month

select
   to_date('2022-13', 'yyyy-mm')
from
   dual;

See also

ORA-01839: date not valid for month specified
Other Oracle error messages

Index