用dateformat转成string就是了啊?
java.text.SimpleDateFormat("yyyy-MM-dd HH:mm:ss")