The nature of time