night/day check

added isNight function and added logic to change icon if date.gethours()
is greater than 18 (ie 7pm)