Date curDate = new Date(System.currentTimeMillis()) ; // 獲取當前時間. String str = formatter.format(curDate);. 可以獲取當前的年月時分,也可以分開寫:.
確定! 回上一頁