allanhurst: I suppose you could use abs()... ?
Well no. If you did then the millis time would appears to go backwards.