Computing differences over time