package cn.edu.buaa.act.sdp.malwaredetector.util;
import java.text.SimpleDateFormat;
import java.util.Date;
/**
* Created by yao on 2014/11/5.
*/
public class DateUtil {
public static String getDateFromLong(long date, String format) {
SimpleDateFormat simpleDateFormat = new SimpleDateFormat(format);
return simpleDateFormat.format(new Date(date));
}
}