Date CurDate=new Date(System.currentTimeMillis());
SimpleDateFormat format=new SimpleDateFormat("yyyy-MM-dd HH:mm");
String time=format.format(CurDate);
Date CurDate=new Date(System.currentTimeMillis());
SimpleDateFormat format=new SimpleDateFormat("yyyy-MM-dd HH:mm");
String time=format.format(CurDate);