Converting between timezones in JavaScript | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 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

20th Feb 2020, 7:42 PM
Nerderkips
Nerderkips - avatar
0 Answers