Converting to date
Summary:
We have hire date and we are using this to create a two new columns called 'Current Year Anniversary Date' and 'Days to Anniversary Date'. It used to work earlier; however, it has stopped working.
When we convert the two new columns to date using the CAST function in OTBI, it gives us an error.
ERROR: Oracle Error code: 1839, message: ORA-01839: date not valid for month specified at OCI call OCIStmtFetch. (HY000)
Tried a few different things, but keep getting stuck at the CAST Function.
Code Snippet (add any code snippets that support your topic, if applicable):
Here is the logic: