Millis Function only returning Zero

You need to post all your code.
In code tags.