2001 JI Open Discussion Posted August 17, 2006 Share Posted August 17, 2006 By: Martin Phee - mphee Formating a date with pattern using oracle 2002-11-04 06:59I have two Oracle date fields. Open_date, close_date. If I use a pattern of "MM/dd/yyyy" it works fine, but when I add HH:mm:ss I'm not getting the the time. I worked around by doing a to_char on the field and putting it into the format I want. I tried to do not pattern and all I got was '2002-11-02'. pattern="MM/dd/yyyy HH:mm:ss" isn't working. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now