I need to generate values according to time of the day, is there a neat way to accomplish that ?
from 9-12 value should be between x - y
from 6-9 value should be between a - b
is there any other way than getting timeinfo struct and extracting hour out of it?