+ 1
Converting between timezones in JavaScript
So I recently published SoloChat, a chatting web app. It displays the time a message was sent, but it displays it as it is in the users time zones. It's kinda confusing. How do I convert all the times to the timezone that the user currently is in? https://code.sololearn.com/Wzu6Z5qsFfBG/?ref=app
2 Réponses