DateFormat myformat=new SimpleDateFormat("yyyy.mm.dd"); //?
改为
DateFormat myformat=new SimpleDateFormat("yyyy.MM.dd"); 
mm是秒,MM才是月