Last State Problem with NEXTION

Hi i'm having some problem with this piece of code.

void nexCountDown() {
  
  if (timer.getCurrentTime() != countchecker) 
  {
    Serial.print("t1.txt=");
    Serial.print("\"");
    Serial.print(timer.getCurrentTime());
    Serial.print("\"");
    nexSend();
  }
  countchecker = timer.getCurrentTime();
}

the timer.getCurrentTime() is storing the Countdown timer in a char* and it looks like this

char* Counttimer::getCurrentTime()
{
  sprintf(_formatted_time, "%02d:%02d:%02d", getCurrentHours(), getCurrentMinutes(), getCurrentSeconds());
  return _formatted_time;
}

when i set the countchecker also to char* the code never runs. whats the right type of variable for this to run correctly?

tryed long and uint32_t as well with no effect. i'm thinking of doing a diffrent approach. this talks way to long to solve.

solved this mess diffrently. can be closed