RTC DS1302 help

Good night.
Was testing a rtc module and it works but there's a problem. I set up time and date and print it every second, and this happens:

(unknown day) 2000-00-00 00:00:00
1
Sunday 2016-01-27 19:13:11
0
(unknown day) 2000-00-00 00:00:00
1
Sunday 2016-01-27 19:13:13
0
(unknown day) 2000-00-00 00:00:00
1
Sunday 2016-01-27 19:13:15.

Why does Time t = rtc.time(); only works alternately?

Maybe if you post here the code you have written, together with a reference to the library you are using to access the RTC module, you'll get answer.