Digispark/ATTINY85 - how to measure time elapsed?

With C++ and my raspi I could call time or measure from epoch..but I'm new to the attiny85 and sketch and don't know if it has any clock features - what I want to do is measure time elapsed from an event, and then increase the value of a variable (to increase fan speed). with each passing minute that the event has not been corrected. Is there a way to increase a static variable in my loop () by the number of seconds elapsed?

Look in the reference for the millis() function. To time an event, record the value of millis() at the start of the event in a variable. Store mills() in a different variable at the end of the event. The difference between the two variables is the time elapsed.

Oh, here this is. Not sure why the programming help Forum was inappropriate for this question, but thank you. Can hopefully toy with it later this morning.

ElEscalador: Oh, here this is. Not sure why the programming help Forum was inappropriate for this question, but thank you. Can hopefully toy with it later this morning.

Because you did not post any code ? :D :D

No, I think that a moderator considered it more a guidance question and hence he/she moved it.