You are welcome.
This is good that you want to learn programming yourself, there are two paths to learning how to use RTC1307
One is assembly which I used in this project.
The other is C.
For C again there are few choices, if you don't want to define lot of functions and are comfortable with built in functions then Mikro C would be a good choice.
If you want to improve your C, but still need some built in functions then CCS is among the best choices.
But if you want to write the code entirely then Hitech C would be the choice.
My experience with MikroC is limited, but for CCS and Hitech there are drivers available for DS1307, floating around on different forums.
I'll see if I find time to browse through my projects, then I'll post the codes which I wrote for DS1307 both in CCS and Hitech.