truncate date without times
653816Nov 24 2008 — edited Nov 24 2008Hi,
I want to be able to truncate a date so that times are ignored. I have been using to_char(trunc(IMp_DATE),'DD-MON-YYYY hh24:mi:ss') which does truncate the date however, i do not want to convert it to a string as this does not allow one of my procedures to run.
I have also tried trunc(to_date(IMPL_DATE), 'HH') however it did not truncate the date properly.
Is there any other way where i can truncate the date so times are not included.
Thanks
Monica