Luk*_*ley 1 android date
嗨有谁知道如何将月份作为两位数的数字,例如04或05?
sil*_*war 11
试试这个
dateFormat = "MM"; SimpleDateFormat sdf = new SimpleDateFormat(dateFormat); String month = sdf.format(date);
有关详细信息,请在Android中查看格式化月份
还要检查SimpleDateFormat.
归档时间:
14 年 前
查看次数:
7333 次
最近记录: