日期格式化取月日

日期格式化 SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); Date date = null; try { date = sdf.parse("2012-10-18 22:22:22"); } catch (ParseException e) { e.printStackTrace();
相關文章
相關標籤/搜索