+1

Setting time for changing class in javascript~!?(please help)

Hi how can i set time for changing style i mean i need a javascript code which could change my class at night automatically and then change the class for morning? for iran,tehran time zone! for example for night mode which websites use , but automatically:) can anyone help?

1/15/2020 8:45:54 AM

Mahdi Ghasemi

3 Answers

New Answer

+2

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

+2

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

+2

Thanks guys Calvin & Visph :) it's worked!