Hello Ali
Are you sure you have posted on the right forum ???
Here, it is PicBasicPro from MELABS ... 
I remember there were one or two threads talking about DS1307, here ... so you can try a SEARCH ( upper right of your screen), to get some ideas ...
Alain
************************************************** ***********************
Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
************************************************** ***********************
IF there is the word "Problem" in your question ...
certainly the answer is " RTFM " or " RTFDataSheet " !!!
*****************************************
Bookmarks