convert NSstring date to UTC date

后端 未结 2 1972
栀梦
栀梦 2021-01-20 04:08

i need to convert some date that i have in NSString to NSString in this format: yyyy-MM-dd HH:mm:ss zzz i write this code:

2条回答
  •  北海茫月
    2021-01-20 04:36

    i think, Here GMT show Standard time and GMT and UTC both are same. please look on below links: http://wwp.greenwichmeantime.com/ http://www.worldtimeserver.com/convert_time_in_UTC.aspx

    thanks

提交回复
热议问题