Wednesday, August 17, 2016

How to assign current date or system date in OAF



             Timestamp sqlTimestamp = new Timestamp(System.currentTimeMillis());  

              Date jboDomainDate = new Date(sqlTimestamp);

             java.sql.Date PresentDate = jboDomainDate.dateValue();          

             row.setAttribute("EffectiveStartDate",PresentDate);

No comments:

Post a Comment