Hey so I have the following code but am curious as to whether there is a shorthand or better/neater way to write such a seemingly cumbersome piece of code.

```
var time = new Date().getHours();
var greet;

if ( time >= 0 && time < 4 ) {

    greet = 'Wow you\'re up late! Good morning.';
}

else if ( time >= 4 && time < 12 ) {

    greet = 'Good morning.';
}

else if ( time >= 12 && time < 17 ) {

    greet = 'Good afternoon.';
}

else if ( time >= 17 && time <= 23 ) {

    greet = 'Good evening.';
}

document.querySelector('.js-greet').innerHTML = greet;

```

Any insight would be greatly appreciated.