I am programming in VB.NET and can't get my head around a problem I have.

I have a timer that starts on the nth minute of the hour, eg site number 7 starts on the 7th minute, site number 56 starts on the 56th minute, site number 70 starts on the 10th minute (modulus).

SO I need to identify when my service starts, whether i can test to see if the timer should be running or not.

So for site 45, this would start on the 45th minute of the hour. If the service starts at 10:55, I would not test this timer until 11:45

My head is numb from trying to think about this too much, so any help would be great.

I just need a function to test whether the site timer is running or not, based on the offset hour.