"expected unqualified-id" Error after trying to add delay to parts of script.

I'm sorry for misleading you, there are no delays present as I tought they would somehow interfere with my RTC as it has no 3v battery for now, so I tried using millis() for the first time.