My FeedDiscussionsHeadless CMS
New
Sign in
Log inSign up
Learn more about Hashnode Headless CMSHashnode Headless CMS
Collaborate seamlessly with Hashnode Headless CMS for Enterprise.
Upgrade ✨Learn more

How to get the local time of a particular timezone in JavaScript?

ajay ramgounda's photo
ajay ramgounda
·Aug 31, 2017

I want to get the local / current time of a particular timezone, like I have a dropdown of all the GMT timezones(GMT), so on choosing a particular GMT I need to display its local / current time.