Hi Nick
I'm glad you chimed in on this. I could not get the sprintf() to work. I kept getting 2 different kinds of errors doing it. One was an invalid conversion from 'int' to 'const char*', and the other was initializing argument 2 of 'int sprintf(char*, const char*, ...)'
Heres that bit of code:
void loop()
{
//Calling time from RTC.
DateTime now = RTC.now();
//Declaring variables.
int Hrs = now.hour();
int Mins = now.minute();
int Sec = now.second();
sprintf (displayThis, 'Hrs', 'Mins', 'Sec');
delay (1000);
} // end of loop