Passing a formatted NSDate

后端 未结 3 632
后悔当初
后悔当初 2021-01-28 19:26

Formatted dates that I am passing to an instance method are not saving/printing the correct date. Can someone please help?

Calling method code snippets:

         


        
3条回答
  •  失恋的感觉
    2021-01-28 19:36

    http://unicode.org/reports/tr35/tr35-10.html#Date_Format_Patterns

    Make sure you check your formatted NSDates to this. They are case-sentitive so make sure you use them correctly

提交回复
热议问题