In APEX, you use substitution string syntax (&DATE_DIFF.
) when you want to retrieve session state for an item into tabs, lists, and so forth. In order to retrieve session state for an item in PL/SQL block, you either prefix item name with colon, or use V()
function:
:DATE_DIFF
v('DATE_DIF')