Shouldn't matter, but you can try to do something like
Date = to_number(to_char(sysdate; 'yyyymmdd'))
This is with oracle database
Date = to_number(to_char(sysdate; 'yyyymmdd'))
This is with oracle database