SimpleDateFormat sdf = new SimpleDateFormat("yyyyMM");
Date date = sdf.parse("201508");
String s =new java.text.SimpleDateFormat("yyyyMM01").format(date);
System.out.print(s);
转载于:https://www.cnblogs.com/leshang/p/4791789.html
SimpleDateFormat sdf = new SimpleDateFormat("yyyyMM");
Date date = sdf.parse("201508");
String s =new java.text.SimpleDateFormat("yyyyMM01").format(date);
System.out.print(s);
转载于:https://www.cnblogs.com/leshang/p/4791789.html