sil*_*war 11
试试这个
dateFormat = "MM";
SimpleDateFormat sdf = new SimpleDateFormat(dateFormat);
String month = sdf.format(date);
Run Code Online (Sandbox Code Playgroud)
还要检查SimpleDateFormat.
| 归档时间: |
|
| 查看次数: |
7333 次 |
| 最近记录: |