Forum Discussion

smartazanclock's avatar
smartazanclock
Copper Contributor
May 06, 2023

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' }))

 

 

Share

Resources