Forum Discussion
smartazanclock
May 06, 2023Copper Contributor
JavaScript toLocaleString incorrect value for Africa/Cairo time zone
Hi, It's been more than a week since Egypt re-introduced DST but following JS statement still returns incorrect value on Edge browser. (Chrome never have the problem.)
new Date(new Date().toLocaleString("en-US", { timeZone: 'Africa/Cairo' }))
1 Reply
- smartazanclockCopper Contributorhttps://stackoverflow.com/questions/76224259/javascript-tolocalestring-returning-incorrect-value-for-africa-cairo-time-zone-o