0

I have the date as

format(new Date('2021-04-01T00:00:00.000+00:00'), 'M/d/yyyy, HH:mm:ss')

I need to convert the date with time to UAE time zone. How can I do that. I tried passing timeZone parameter in format but what will be its value for UAE time I don't know.

format(new Date('2021-04-01T00:00:00.000+00:00'), 'M/d/yyyy, HH:mm:ss', {timeZone: '')
  • this can help you https://stackoverflow.com/questions/47978701/convert-one-date-with-timezone-to-another-date-with-timezone-using-javascript – J_K Oct 07 '21 at 14:01

0 Answers0