Show Date & Time in User’s Local Time Using Moment.js

This will show the date and timeĀ 2018-08-02T10:00-07:00 in a user’s local time. To simulate being in a different timezone, change your timezone in your operating system and reload this page.

See the Pen Show Date & Time in User’s Local Time by Abdullah Yahya (@javanigus) on CodePen.