try this (i did not test it, writing it on the fly):
declare
strMonth varchar2(3);
intMonth number;
strYear number;
intYear number;
begin
strMonth := to_char(sysdate, 'MON');
intMonth := to_char(sysdate, 'mm');
strYear := to_char(sysdate, 'yyyy');
intYear := mid(to_char(sysdate, 'yy'), 2, 1);
end;
--
regards,
Simon