Hello everyone! I made a clock using RTC1307 module and as it doesn't automatically autocorrect time I have to correct the time . My current time and date is set to 12:00 AM 0/0/1970. I want to know how to set it to present time

As it says it's an Uno board

What board did you select in the Arduino IDE?

Can you remove all the connections to the board and upload a blank sketch?

Looks like the OLED is powered from 5V. That could be a problem with most OLED displays, which normally run on 3.3V.

I selected Arduino Uno as it is named on the board . Are you saying to remove all the cables from the board and upload a blank code ?

I would like to recommend you using RTClib library. You can see a similar tutorial OLED Clock with DS1307

Yes.