DB2生成当前日期的函数?
Datedate=newDate();
之后有个%tc的函数,表达当前时间的,很全
用format函数,
大概是Stringtime=Stringformat("%tc",date);
然后System.out.printfln(~~);
大概就是这样