public static String getDateToString(long milSecond) {
Date date = new Date(milSecond* 1000);
SimpleDateFormat format = new SimpleDateFormat("yyyy-MM-dd");
return format.format(date);
}
来源点击打开链接
public static String getDateToString(long milSecond) {
Date date = new Date(milSecond* 1000);
SimpleDateFormat format = new SimpleDateFormat("yyyy-MM-dd");
return format.format(date);
}
来源点击打开链接