Incorporating button into Servo Loop. Help!

Thanks. Can you please elaborate on how to "put the first 4 lines of the loop() in a condition which allows them to run only every 24 hours."'