Fixing a date issue when inserting into Oracle