convert time (t) into ttm which is (time to minutes) past midnight so for instance
1am becomes 60,
2am=120,
3am=180 (mins past midnight) ect.
then use various combos of integer portion and fractal portion
of the value returned by dividing ttm by 5
using the function mod(ttm,5);