Yes! Since it's 1400 or 2pm, we display "Good afternoon".
1400
2
"Good afternoon"
Try else if (hour < 17) to specify a second condition.
else if (hour < 17)