Keeping RTC time

How do I keep the RTC time on Due? Can i use CR1220 battery? Which pins would I connect the battery?