UNO vs Mega2560

Read this before posting a programming question

Your code?

What pins did you connect the clock to?

Can you give a link to the DSL1307 clock?