L
L
Leopandro2017-12-24 17:52:03
JavaScript
Leopandro, 2017-12-24 17:52:03

How to output date in javascript given belt?

Here in the database I have saved the date 2008-12-30 18:30:00 (from mysql) with gmt+3. Those. at 21 hours should be. But when I try to display it, it displays the time without taking into account the belt. How to withdraw taking into account the belt?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Maksym Blank, 2017-12-24
@Blockchain

https://www.w3schools.com/jsref/jsref_utc.asp

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question