摘要:
百度整理过来的[java]view plaincopyprint?importjava.text.SimpleDateFormat;SimpleDateFormatformatter=newSimpleDateFormat("yyyy年MM月dd日HH:mm:ss");DatecurDate=newDate(System.currentTimeMillis());//获取当前时间Stringstr=formatter.format(curDate);可以获取当前的年月时分,也可以分开写:[java]view plaincopyprint?SimpleDateFormatsD 阅读全文
posted @ 2013-11-27 17:47
寡蛋
阅读(319)
评论(0)
推荐(0)

浙公网安备 33010602011771号