Millis() Problem!

try something like:

if (currentLampTime - startLampTime <= lampDelay) {