Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

truncate date without times

653816Nov 24 2008 — edited Nov 24 2008
Hi,
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
This post has been answered by 554938 on Nov 24 2008
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 22 2008
Added on Nov 24 2008
5 comments
674 views