02 November 2010

Format a Date before print

oracle.jbo.domain.Date date = (Date)row.getBirthDay();
DateFormat formatter =new SimpleDateFormat("dd/MM/yyyy");
String birthDay =formatter.format(date.timestampValue());

No comments:

Post a Comment

You might also like:

Related Posts Plugin for WordPress, Blogger...
There was an error in this gadget