# Search:

Type: Posts; User: whyld4900

## Search: Search took 0.23 seconds.

by whyld4900
Replies
9
Views
514

### Re: Help with Clock (advance and reverse day,hour,minute)

// advance day_of_week, hours and minutes - 30 points

minutes = minutes + m;

if(minutes > 59){
...

by whyld4900
Replies
9
Views
514

### Re: Help with Clock (advance and reverse day,hour,minute)

I'm much happier with this method for keeping track of the correct hours but I am still having issues keeping track of days. Any help out there? Kevin? Anyone! lol

by whyld4900
Replies
9
Views
514

### Re: Help with Clock (advance and reverse day,hour,minute)

I'm with you having it start at 0 but in his instructions he says that valid ranges for the days are 1 - 7. But I understand your point.

If Thursday is 4 and I add 10 days I'm at 14 for the number...

by whyld4900
Replies
9
Views
514

### Re: Help with Clock (advance and reverse day,hour,minute)

No, the code in my previous post doesn't work. I can't keep track of the days in any consistent fashion with that approach. My problem is I don't understand the best approach to keep track of time in...

by whyld4900
Replies
9
Views
514

### Re: Help with Clock (advance and reverse day,hour,minute)

I can visualize a set of total minutes that I can divide by to find out how many days, hours, and minutes but... the way these methods are set up I am having a hard time getting total minutes....