public class Main {
public static void main(String[] args) {
long date = 1711638903488L; // Unix 时间戳 (自 1970 年 1 月 1 日以来的毫秒数)
// 时间
System.out.printf("%tl:%<tM %<tp%n", date);
// 月份和日期
System.out.printf("%tB %<te%n", date);
// 完整日期表示
System.out.printf("%tc%n", date);
}
}