Problem with millis() timing

thats my problem. why?? i need the second condition to be true as well.