public class TimeThree { public static void main(String[] args) { SimpleDateFormat d = new SimpleDateFormat("yyyy-MM-dd E HH:mm:ss"); Date date = new Date(); d.format(date); System.out.println(date); }}
原文地址:https://www.cnblogs.com/THEONLYLOVE/p/9117741.html
时间: 2024-10-05 08:17:40