New and trying to figure out code

Each code works independently yes, and the code works as it is minus the blinking led's, they stay lit throughout the duration.

THe code should read and display date time and temp on the OLED display. Log the time and temp to the SD card and blink the LED's. It is displaying the date time and temp on the OLED Display and logging the data to the SD card, the LED's stay lit for the duration of the code.

I will do that in the future, and try to edit the code currently. Sorry, it is my first post so I was not even sure how the favorable format for the code would be.