Yngvarr

Generation

generate functionFri, 24 Feb 2023

set time zone 0

var time = new Date().getHours() if (time < 10) { document.write("Good morning") } else if (time < 20) { document.write("Good day") } else { document.write("Good evening") }

Javascript
Generate More

Questions about programming?Chat with your personal AI assistant