NSDateFormatter - 1 day incorrect?

后端 未结 1 1745
陌清茗
陌清茗 2021-01-18 10:13

I am importing a CSV file with a date format of month/day/year (e.g. 21/01/2007).

I am looping through the CSV some are working but some are coming out with the date

1条回答
  •  傲寒
    傲寒 (楼主)
    2021-01-18 10:59

    Sounds like you have a timezone problem, have you set the timezone?

    0 讨论(0)
提交回复
热议问题