This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes DateFormat Java 2 Oracle Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "DateFormat Java 2 Oracle" Watch "DateFormat Java 2 Oracle" New topic
Author

DateFormat Java 2 Oracle

Reggie McDougal
Ranch Hand

Joined: Sep 27, 2004
Posts: 69
When saving sysdate to the database in this case oracle

when I get the date a recorde was created say..

> select to_char(create_dt, 'YYYYMMDD:HH24:MI:SS')

Does the Java API give me a way to compare the format from oracle with out haveing to re-invent the wheel?


You can never drink too much
Adeel Ansari
Ranch Hand

Joined: Aug 15, 2004
Posts: 2874
you can use java.text.SimpleDateFormat class. refer to docs.
thanks
David O'Meara
Rancher

Joined: Mar 06, 2001
Posts: 13459

This is not a servlet question, moving to Java in General (beginner)
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: DateFormat Java 2 Oracle
 
Similar Threads
Servers supporting EJB 3.0?
Why Oracle, not Sun, sued Google over Java
SQL Exception: Exhaused Resultset
SCJP and all other exams from Oracle about Java, when obtained last for ever or, only eg 3 yrs
Transaction Boundary Problem