Formating Date at java

String pattern = “yyyy-MM-dd HH:mm:ss”;
SimpleDateFormat format = new SimpleDateFormat(pattern);
// formatting
String current_date= format.format(new Date());

Advertisements

About lorddisk

WebCenter Content, WebCenter Portal, WebCenter Sites,Weblogic, Identity and Access Management (IAM),SSO,OAM,OIM,OAAM,OUD, OPAM,OID, OVD ,Oracle API Gateway ,OBIEE,OEDQ, Oracle ADF, Oracle SOA,J2EE, CackePHP ,PHP,J2SE,J2EE,Spring,Hibernate,JQuery,CSS,Java Script ,Joomla,Drupal,Worpress
This entry was posted in Uncategorized. Bookmark the permalink.