+ 14

Can you tell me what is wrong in this code ??

https://code.sololearn.com/wADO3PJGL7K3/?ref=app

2nd Feb 2019, 7:53 PM
Baraah Ali Omar Balagem
Baraah Ali Omar Balagem - avatar
4 Antworten
2nd Feb 2019, 9:22 PM
dρlυѕρlυѕ
dρlυѕρlυѕ - avatar
+ 6
Thank you
3rd Feb 2019, 4:33 AM
Baraah Ali Omar Balagem
Baraah Ali Omar Balagem - avatar
+ 5
For Sanaa correct timezone is Asia/Aden.
3rd Feb 2019, 12:31 AM
Hubert Dudek
Hubert Dudek - avatar
+ 3
I think the nameform of the timezones. See the supported timezones: http://php.net/manual/en/timezones.asia.php Write "Asia/Tokyo" instead of "Japan/Tokyo". And if your city is not listed in supported timezones then you can use the nearest to that place. Write "Asia/Riyadh" instead of "Yemen/Sanaa".
2nd Feb 2019, 9:15 PM
dozule
dozule - avatar