作者:82年的老代码 | 来源:互联网 | 2023-06-04 20:18
hiiamcreatingawebapplication,whereifauserregisterwewillshowthecreateddate.嗨,我正在创建
hi i am creating a web application , where if a user register we will show the created date.
嗨,我正在创建一个Web应用程序,如果用户注册,我们将显示创建日期。
For that we are using Current time stamp in my sql table.Which shows server Time.But we don't know how to convert Time according to user time zone.
为此,我们在我的sql表中使用当前时间戳。它显示服务器Time.But我们不知道如何根据用户时区转换时间。
Because we are not getting user's country .
因为我们没有得到用户的国家。
Can any on help me to fix it
任何可以帮助我解决它
Thanks in advance :)
提前致谢 :)
5 个解决方案