2012-01-04 90 views

回答

0
Date d = new Date(System.currentTimeMillis()); 
d.toLocaleString(); //to phone's locale 
d.toGMTString(); //in GMT 
1

試試這個代碼

String dat = new SimpleDateFormat("ddMMyy").format(location.getTime()) 
相關問題