iOS - Converting time and date to user time zone

前端 未结 2 1053
眼角桃花
眼角桃花 2021-01-03 13:27

I am sending some requests on a webserver that replies me time and date like this:

\"at 18:58 of 05/08/2012\"

I can figure out how to get t

2条回答
  •  北海茫月
    2021-01-03 14:01

    instead of getting absolute time from server get timestamp from server and convert that in to date at the client side, for this you didn't have to change the timezone also.

提交回复
热议问题