micros() and TCNT0

Hi,
I actually want to reset the micros(). How to do that?. Can we do it with TCNT0=0; The following code does not work for me. Please help me.

#include <Time.h>

TCNT0 =0; //reset timer
Serial.print(“The timer value tcnt0 is”);
Serial.println(TCNT0);

Serial.print(“The micros() value is”);
Serial.println(micros());

No, that will not work. But really, there is NO need to do so :wink:

I actually want to reset the micros().

Why ?

At the point where you want to reset micros() just save the value to a variable and use that value as the basis for any further calculations or comparisons of elapsed time.