why the result of my date object always several hours behind the actual string that I want to convert? [duplicate]
问题 This question already has answers here : NSDate() or Date() shows the wrong time (2 answers) NSDate Format outputting wrong date (5 answers) NSDateFormatter return wrong date + Swift (4 answers) Closed 2 years ago . I am a junior iOS developer. and now I have problem when converting string to date object. I don't know why the result (date object) always 7 hour behind the actual string I input. currently I am in Indonesia (GMT + 7), I don't know, but maybe it is related to the place where I