Need some help figuring out how to check to see if a unix time stamp is within a specified time of day.
I am time stamping a sensor reading using unix format. I then want to check to see if the time stamp is within a set time window, say between 8:05 and 8:10 every day. Additionally I want to check if the current time is a specific day of the week, say a Saturday.
I have seen code examples that pull human readable strings and compare hours, minutes, and days of the week, but I have not seen a good way to do the above using unix format. Is there a way to use unix or do I need to poll the time in human readable strings?