Millis help please!

When the switch state changes to pushed, make previousMilliis = millis().
When the switch state changes to not pushed, print millis() - previousMillis.

.