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

I'll try.

In the Arduino IDE go to File | Examples | DS1307RTC and select the Set Time sketch. Upload the Sketch to your microcontroller. After the upload, you should see some message on the monitor about success or failure in regards to setting the time.