01.//Convert Unix timestamp to normal date style
02.public String TimeStamp2Date(String timestampString){
03. Long timestamp = Long.parseLong(timestampString)*1000;
04. String date = new java.text.SimpleDateFormat("dd/MM/yyyy HH:mm:ss").format(new java.util.Date(timestamp));
05. return date;
06.}
02.public String TimeStamp2Date(String timestampString){
03. Long timestamp = Long.parseLong(timestampString)*1000;
04. String date = new java.text.SimpleDateFormat("dd/MM/yyyy HH:mm:ss").format(new java.util.Date(timestamp));
05. return date;
06.}
返回值:11/09/2009 11:31:26