Date类型时间转换
/* 时间转换start */
public static void main(String args[]) {
Date nowTime = new Date();
System.out.println(nowTime);
SimpleDateFormat time = new SimpleDateFormat("yyyy/M/d");
BeanDayTraffic bd = new BeanDayTraffic();
System.out.println(time.format(nowTime));
}
/* 时间转换end */