Thread: How to code?
View Single Post
  #503 (permalink)  
Old 11-25-2007, 11:53 AM
antone antone is offline
Senior Member
 
Join Date: Oct 2006
Posts: 104
antone is on a distinguished road
i need a little help.. how do i make it work? i tried but it won't read the mins? i i should use something else aside from TimeHour but what?

Quote:
if (TimeHour (Clocks) == 7:15) {B = 1; }
if (TimeHour (Clocks) == 7:30) {B = 2;}
if (TimeHour (Clocks) == 7:45) {B= 3;}
if (TimeHour (Clocks) == 8) {B = 4;}
if (TimeHour (Clocks) == 8:15) {B = 5;}
if (TimeHour (Clocks) == 8:30) {B = 6;}
Reply With Quote