Problems with snprintf

This will give you a hint...

void getTime(char theTimeAsACharArray[])
{
  Serial.println( sizeof(theTimeAsACharArray) );

/****** put this back after the test
     Time t;
     t = rtc.time();
     snprintf(theTimeAsACharArray, sizeof(theTimeAsACharArray), "%02d-%02d-%04d%02d:%02d:%02d",
	           t.date, t.mon, t.yr, t.hr, t.min, t.sec);
******/
}