Arduino Due RTC Library

So you're using a board which doesn't support the RTC (wrong power connections and no 32KHz crystal) and you wonder why it doesn't work?

It doesn't work on the standard Due board. No fault of Atmel.

Can you show a link to the Sainsmart board? That sounds interesting.