OBTI Formula for January 1st of Current Year
Content
I need to get the age of the worker for the start of the year in an OBTI analysis. I have Oracle's formula to calculate age:
TimeStampDiff(SQL_TSI_YEAR, "Worker"."Employee Date Of Birth", Current_Date)
But, I need "Current_Date" replaced with January 1, 2021 -or better January 1st of the Payroll Period End Date
Can anybody help me with how to write that piece of code? Thanks so much.
0