Why would the clock on a 1999 Chevy Blazer keep re-setting itself?

Hey Tom ==It probably has a loose connection and looses voltage/. GoodluckJoe