Sand pouring through glass is an ancient way of recording the passage of time