import java.util.*;
import java.text.*;

public class testmcn {
   public static void main(String args[]) {

      Date dNow = new Date( );
      SimpleDateFormat ft = 
      new SimpleDateFormat ("E yyyy.MM.dd 'at' hh:mm:ss a zzz");

      System.out.println("Current Date: " + ft.format(dNow));
   }
}

 输出

Current Date: 周二 2019.03.19 at 05:06:33 下午 GMT+08:00

  

 

相关文章:

  • 2021-08-23
  • 2021-08-23
  • 2022-01-29
  • 2022-12-23
  • 2022-12-23
  • 2021-05-19
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-07-18
  • 2022-01-26
  • 2022-02-17
  • 2021-07-05
相关资源
相似解决方案