I need Pacific time US & Canada in my javascript code. I am using below line of code for that
moment(new Date()).zone("-07:00").format('hh:mm A') but if daylight is on then static -07:00 will give incorrect output
How to get current server time in JavaScript using moment.js?