(to_char(sysdate,'YYYY')+least(sign((sysdate-to_date('01-Aug-'||
to_char(sysdate,'YYYY'),'DD-Mon-RRRR'))),0)) "AcYear"
Error:
'to_char' is not a recognized built-in function name.
I tried changing to_char and to_date to CONVERT but getting error.
I am expecting to see 2016 as AcYear
Can someone please help?