1

I am trying to get sydney time using javascript and jquery. I have retrieve UTC and then add 11 to its hours to get the sydney time as below:

var d = new Date();
    d.setHours(d.getUTCHours()+11);

but the issue is daylight savings which impacts this. Is any workaround I need to do here?

Aquarius24
  • 1,806
  • 6
  • 33
  • 61

0 Answers0