Your code is incomplete. It's missing init(), so not a real surprise millis isn't working.
25 wasted minutes.