获得当前时间
SimpleDateFormat simpleDateTimeFormat = new SimpleDateFormat( " yyyy-MM-dd HH:mm:ss " );
Calendar c = Calendar.getInstance(Locale.CHINESE); //getInstance()
String nowtime = simpleDateTimeFormat.format(c.getTime()) ;
Calendar c = Calendar.getInstance(Locale.CHINESE); //getInstance()
String nowtime = simpleDateTimeFormat.format(c.getTime()) ;
---------------------------------------------------------------------------------------------------------------------------------
copyright:http://www.cnblogs.com/anee/