05.04.2013, 02:11
For example:
you timer call Payday every 60sek and you start you timer at 22:31:15
after 60sek
i hope you understand this is not best way to test is one hour pass
may be this way
you timer call Payday every 60sek and you start you timer at 22:31:15
after 60sek
Quote:
//time is 22:32:15 //minute is 32 and second is 15 if(minute == 0 && second == 0) //after 28min //time is 23:00:15 //minute is 00 and second is 15 if(minute == 0 && second == 0) |
may be this way
Quote:
// public new OLD_HOUR; if(hour != OLD_HOUR) OLD_HOUR = hour; |