How can I calculate date of birth from an age field in Oracle Apex?
I created a dynamic action to execute server side code on date of birth filed to calculate age from date of birth:
select trunc(months_between(sysdate,:P25_DATE_OF_BIRTH)/12) ||'.'||
trunc(mod(months_between(sysdate,:P25_DATE_OF_BIRTH),12))
into :P25_AGE from dual;
Now I need to create a dynamic action on the age field to calculate date of birth given age, for example age 43.4.