String str=String.format(Locale.US,"英文月份簡稱:%tb",date); ... System.out.printf("年的前兩位數字(不足兩位前面補0):%tC%n",date);. //y的使用,年後兩位.
確定! 回上一頁