converting timestamp to nsdate format

后端 未结 4 775
一个人的身影
一个人的身影 2020-12-08 13:21

I want to convert my timestamp value 1308031456 to NSDate format (which yields the value Tue, 14 Jun 2011 06:04:16 GMT in online web c

4条回答
  •  一个人的身影
    2020-12-08 14:09

    See the various example on date formatting and getting date from timestamp from apple

    Use Formatter Styles to Present Dates and Times With the User’s Preferences

    Convert TimeStamp to NSDate in Objective-C

提交回复
热议问题