Nodejs can detect user's timezone with moment js guess function, but php can't, why ?? if php can then please give me a brief and if I have wrong information about moment in nodejs please explain me how does moment guess works. thanks
Asked
Active
Viewed 73 times
1 Answers
0
Because PHP is a server-sided
language, while Javascript is client-sided
- that's why you can't do it in PHP like you can in JavaScript.
However, this question is most likely to be a duplicate of get user timezone.

maio290
- 6,440
- 1
- 21
- 38