With java.text.DateFormat, it\'s possible to build a date formatter with a date and a time style :
DateFormat df = getDateTimeInstance(DateFormat.SHORT, DateForm
Use DateTimeFormat.forPattern() with a pattern that does what you want. For instance, DateTimeFormat.forPattern("YYYY-MM-dd HH:mm:ss");
DateTimeFormat.forPattern("YYYY-MM-dd HH:mm:ss");