Quote Originally Posted by richard View Post
hh = hh +3
if hh>23 then
day_added = true
endif
hh = hh//24
.............

if day_added then
day = day +1
if day > numberofdayforthismonth then
day=1
month=month +1
if month >12 then
month=1
year=year+1
endif
endifendifendifendifendifendif lots of endifs
Hi Richard that is really useful info. Now at this stage i have to make it work. I will set some vars first.