How can I convert a java.util.Date to String using
java.util.Date
String
DateTimeFormatter dateTimeFormatter = DateTimeFormat.forPattern(\"yyyy-MM-dd\'T\'H
DateTime dt = new DateTime(date); DateTimeFormatter dtf = DateTimeFormat.forPattern("yyyy-MM-dd'T'HH:mm:ss"); dt.toString(dtf)