public class DataUntil {
public static String getNow(){
Calendar c=Calendar.getInstance();
Format format=new SimpleDateFormat("YYYY-MM-dd hh:mm:ss");
return String.valueOf(format.format(c.getTime()));
}
}
public class DataUntil {
public static String getNow(){
Calendar c=Calendar.getInstance();
Format format=new SimpleDateFormat("YYYY-MM-dd hh:mm:ss");
return String.valueOf(format.format(c.getTime()));
}
}