Which library are you using for the RTC?
The DS1302 library I've seen returns a char* from getTimeStr, which points to a char array, but you are saving to a String so the compiler should be doing the conversion.
Which library are you using for the RTC?
The DS1302 library I've seen returns a char* from getTimeStr, which points to a char array, but you are saving to a String so the compiler should be doing the conversion.