Automatically detect user's current local time with JavaScript or PHP

后端 未结 6 1269
逝去的感伤
逝去的感伤 2020-11-29 04:54

I often need to display information based on or influenced by a user\'s actual local time which differs across time zones. Is there a reliable way of getting a user

6条回答
  •  时光说笑
    2020-11-29 05:43

    javascript:

    
    

    output

    11:51 AM

提交回复
热议问题