reset static variable

I need to clear a static variable but I have no idea how to do. Can you help me please?
I thought of writing the value in the EEPROM every time :confused:

I do not think it will go well. I think that millis () modifies the value.

static long n= (T * 1000.00) + millis();

In fact, I need to avoid its reporting so the variable changes for each loop,

Why make it static if you want to change it's value? I don't understand what you want to do..

I don't understand what the OP wants to do either, but is there some confusion between static and const going on here ?

If I used

long n= (T * 1000.00) + millis();

the value at each cycle changed but I needed to make and use a static variable static it seemed the only solution. in any case

in any case I solved it by using the eeprom. sometimes i have the solution in front of the eyes but I prefer to complicate my life. I feel so stupid.

Not sure if that is what you are doing, but if you write in the EEPROM every loop(), the cells where this long is written, will be ruined very quick and it will fail to read from or write to it.

The EEPROM memory has a specified life of 100,000 write/erase cycles, so you may need to be careful about how often you write to it.

Maybe show your code so we can understand what you want to do.

Yet another example of why posters need to post all of their code at the outset.