Hi
I have a program running to messuring the time a input is closed
I use therefore 3 dm[]'s and a 1 sec clock pulse
dm[3]=dm[3]+1 ' count seconds
if dm[3]=60 then
dm[3]=0
dm[2]=dm[2]+1 'count minutes
endif
if dm[2]=60 then
dm[2]=0
dm[1]=dm[1]+1 ' count hours
endif
that works fine but what i want to reach is to store the time every day to 3 other dm[]'s so that i become
if date[3]=1 then store the time to dm[1],dm[2],dm[3]
if date[3]=2 then store the time to dm[4],dm[5],dm[6]
if date[3]=3 then store the time to dm[7],dm[8],dm[9]
and so on .....
Is there a possibility to do this ?
I have tried, but my knowledge is to little to figger this out
I appreciate each tip or aid highly
Thanks in advance
KIZOR