Current Date

Current Date



We can use below code to display current date in a required field.


Import java.util

      Date utilDate = new Date(); 
      System.out.println("utilDate :" + utilDate); 
      OAMessageStyledTextBean  dat = (OAMessageStyledTextBean)webBean.findChildRecursive("Date");
      dat.setValue(pageContext, utilDate);

Post a Comment

0 Comments