-1

How do I get the timezone using javascript? instead of America/New_York I want "Eastern Time - US/Canada 5:13pm" with the timestamp and country.

How can I get that using React/Javascript? just like Calendly has it.

Chris Hansen
  • 7,813
  • 15
  • 81
  • 165

1 Answers1

0

You can use date.toLocaleTimeString()

Xupitan
  • 1,601
  • 1
  • 8
  • 12