why swift date data is 7 hours behind?

why swift date data is 7 hours behind?

When encoding the data into iPhone disk, and get it out, the date data became 7 hours behind, why?

When it is sending the data to iCloud, the data is normal.

Accepted Reply

date was saved as timezone netruel format, and display as different time zone.

Replies

date was saved as timezone netruel format, and display as different time zone.