Actually defining timeOfDay

Missed that "var" bit.