N
N
nyatmeat152018-10-11 18:20:37
PHP
nyatmeat15, 2018-10-11 18:20:37

How to display time in the browser in different time zones?

Hello.
A question. Several branches work, in the settings of each branch there is a timezone. We get the time data in a timestamp, but as I understand it, this is a very bad decision, since the conversion to js brings the time format to the current timezone. In what form should I use the data output format on the client so that the browser takes into account the time zone of the branch?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Maxim Timofeev, 2018-10-11
@webinar

well, pass the timezone as well and make an amendment, or better yet, give GMT time and, knowing the client’s timezone, make an amendment

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question