Tuesday, March 26, 2013

Date Conversions


        java.util.Date utilDate = new java.util.Date();
        java.sql.Date sqlDate = new java.sql.Date(utilDate.getTime());
        oracle.jbo.domain.Date jboDate = new oracle.jbo.domain.Date(sqlDate);

        System.out.println("utilDate:" + utilDate);
        System.out.println("sqlDate:" + sqlDate);

https://forums.oracle.com/forums/thread.jspa?threadID=2449218

No comments: