1.导包
import java.text.SimpleDateFormat;
2.转换
SimpleDateFormat simpleDateFormat = new SimpleDateFormat("HH:mm:ss");
simpleDateFormat.setTimeZone(TimeZone.getTimeZone("GTM+0"));//设置时间起点
String format = simpleDateFormat.format(24*60*60 * 1000L);
1.导包
import java.text.SimpleDateFormat;
2.转换
SimpleDateFormat simpleDateFormat = new SimpleDateFormat("HH:mm:ss");
simpleDateFormat.setTimeZone(TimeZone.getTimeZone("GTM+0"));//设置时间起点
String format = simpleDateFormat.format(24*60*60 * 1000L);