Please notice I don't have any programming experience and maybe I didn't get your question right.
As a non programmer I don't know all the capabilities of the CronJob (I added 4 blocks of 6 hours myself with Morning, Afternoon, Evening and Night) but now I'm looking for a variable like Time is between x and y hours.
I'm trying to figure out myself, first thing what came to my mind was: OS.Time
Other things that crossed my mind are DateTime, toGMTString() and toLocaleString()
I think I'll start with experimenting with:
currentTime.getHours()
currentTime.getMinutes()
currentDate.getDate()
currentDate.getMonth()
currentDate.getFullYear()