https://www.as400andsqltricks.com/2024/03/SQLDAYSscalarfunctioninSQLDB2fori.html