摘要:
调用System.currentTimeMillis()获得当前时间SimpleDateFormat format=new SimpleDateFormat("yyyy年MM月dd日 HH:mm:ss");Date date=new Date(System.currentTimeMillis());Log.i("myDebug", ""+date);Log.i("myDebug", ""+format.format(date));/*打印结果: * Thu Sep 15 10:22:27 GMT 阅读全文
posted @ 2011-09-15 10:40
QZB
阅读(445)
评论(0)
推荐(0)
浙公网安备 33010602011771号