The easiest way is to use the function to_charas follows:
to_char(sysdate, 'YY')
as described here .
If you need an integer value, you can also use a function extractfor dates. See here for a detailed description of the syntax extract.
For example:
extract(YEAR FROM DATE '2008-12-24')
2008 will return.
, modulo MOD:
mod(extract(YEAR FROM DATE '2008-12-24'), 100)
8.