NSdate Assuming wrong time zone

前端 未结 2 1851
有刺的猬
有刺的猬 2020-12-02 02:45

I am trying to convert the following string into an NSDate object:

NSString *str=@\"25 May 2012 10:25:00\";

NSDateFormatter *dateFormatter = [[[NSDateFormat         


        
2条回答
提交回复
热议问题