日期格式化代码,部分代码:publicclassDateUtil{publicstaticStringformateDateHHMMSS(Datedate){SimpleDateFormatsimpleDateFormat=newSimpleDateFormat("yyyy-MM-ddHH:mm:ss");returnsimpleDateFormat.format(date);}publicstaticStringformateDateHHMMSSForIE(Datedate){SimpleDateFormatsimpleDateFormat=new