Reputation: 987
Here's a Boolean value, it's perfect for today:
myTimeStamp = hour(time, 'GMT-5') == 9 and minute(time, 'GMT-5') == 30
I want it to be true
not today but dayOffset
days earlier.
For example, if dayOffset = 1
, then
myTimeStamp
was true on 27 February
9:30.myTimeStamp
gets true on 28 February 09:30 (stepping 1 day), no longer marking 09:30 on 27 February.Upvotes: 0
Views: 20