Arduino Resets/Blocks itself.

time=(millis())/1000;

WHY ? ?

Do all math with millis.