Run ❯
×
Change Orientation
Save Code
Change Theme, Dark/Light
Go to Spaces
JavaScript setHours()
The setHours() method sets the hours of a date object: