例如: 我能得到時間戳將UNIX時間戳轉換爲所需的任何格式?
String date="123456765343";
final Calendar cal = Calendar.getInstance();
cal.setTimeInMillis(Long.parseLong(date)*1000);
Date d = cal.getTime(); // now this reprents the unix timestamp
我想有日期看起來像這樣:
14 /三月/ 2013下午六點31分34秒
的典型案例http://whathaveyoutried.com – njzk2 2013-03-14 16:37:44