Battery died: Resetting clock and radio

Ive got a '98 Mercedes SLK 230 convertible with an "Auto Code" system on the CD player. The battery died, and when i started up the car the cd
player said "WAIT." That finally changed after several hours. But i cant change the time on the clock. Is there a way to reset the computer or something if the battery ever runs out again?
Add pictures here
<% if( /^image/.test(type) ){ %>
<% } %>
Add image file
Upload is a website by car enthusiasts for car enthusiasts. It is not affiliated with any of the car or spare part manufacturers or car dealers discussed here. All logos and trade names are the property of their respective owners.