How to do a redirect depending on time zone?


Warning: count(): Parameter must be an array or an object that implements Countable in /home/styllloz/public_html/qa-theme/donut-theme/qa-donut-layer.php on line 274
0 like 0 dislike
20 views
Welcome. Do not tell me how to write a script
T/e man visits a link and the time checks its time zone
-1 and 0 MSK
+2 and +3 MSK
+4 to 5 MSK
+ 6 to +7 MSK
8 to 9 MSK
And depending on what time zone redirection happens on different links
by | 20 views

1 Answer

0 like 0 dislike
put the cookie in js, or pass in the request time zone through the Date.getTimezoneOffset

In PHP analyze the passed value and do a redirect
by

Related questions

0 like 0 dislike
1 answer
0 like 0 dislike
1 answer
0 like 0 dislike
2 answers
0 like 0 dislike
1 answer
asked Jun 12, 2019 by selinatm
110,608 questions
257,186 answers
0 comments
27,922 users