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

Somewhere there should be an example folder for the DS130RTC library you are using in your sketch.

The code posted in #2 sets the DSthiniges time, did you try that code?