1) Give a description of the problem
I cant get the datetime comparison to work to compare date and time with what time and date it is now.
2) What is the expected behavior?
I would like to rotate my color light between:
from: $year-12-24 - 04:00 AM to $year-12-25 - 03:00 AM
3) What is happening/not happening?
I cant get the time between to work, my comperision dont calculate the right numbers so the comparison become wrong.
I have tried several solutions and cant seem to get i right, so do you have an idea how to compare time now with date & time for a certain time frame?