how to store RTC time in an arduino uno board, which library should i use...?

The cunningly named <Time.h> may be of interest, but I am still not clear what you are doing or why.