`
eyejava
  • 浏览: 1256433 次
  • 性别: Icon_minigender_1
  • 来自: 上海
社区版块
存档分类
最新评论

aix和java的simpleDateFormat定义竟然不一样

阅读更多

AIX 5.3上:
       mm
            Specifies the month number.
       dd
            Specifies the number of the day in the month.
       HH
            Specifies the hour in the day (using a 24-hour clock).
       MM
            Specifies the minute number.
       YY
            Specifies the first two digits of the year. Note: If you do not
            specify the first two digits of the year, values in the range 69
            to 99 refer to the twentieth century, 1969 to 1999 inclusive, and
            values in the range 00 to 68 refer to years in the twenty-first
            century, 2000 to 2068 inclusive.
       yy
            Specifies the last two digits of the year. Note: The date command
            accepts a 4 digit year as input. For example, if a four-digit year
            is specified, the date command tries to set the year to "YYyy" and
            fails for values which are out of range (less than 1970 and
            greater than 2037).
java:
mm--分
MM--月
yyyy或者yy-年
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics