Time, classical and quantum