Why is the millis variable printing 0

Not the best way to use millis().

if(current_time - previous_time > 10000)
Is better.

See Using millis() for timing. A beginners guide