开发者

FindSystemTimeZoneByID in TimeZone

开发者 https://www.devze.com 2023-03-01 21:19 出处:网络
I want to know whether \"FindSystemTimeZoneByID\" will check the client system timezone or will it be checking the server system time开发者_运维问答zone where the application has been hosted ?The serv

I want to know whether "FindSystemTimeZoneByID" will check the client system timezone or will it be checking the server system time开发者_运维问答zone where the application has been hosted ?


The servers' timezone. You'll probably have to look into some Javascript to get the clients timezone: Check out the Date.getTimezoneOffset() method, it may be what you're looking for. And there's even a few suggestions here on SO to solve your problem. :)


It will only check the server's system.

0

精彩评论

暂无评论...
验证码 换一张
取 消