How to detect user's timezone?

后端 未结 6 1104
独厮守ぢ
独厮守ぢ 2020-11-22 13:00

I need to know what time zone is currently my users are in based on their IP or http header.

I got many answer regarding this issue, but i could not understood thos

6条回答
  •  無奈伤痛
    2020-11-22 13:41

    To summarize Matt Johnson's answer in terms of code:

    
    
    
    

提交回复
热议问题