Store and retrieve the time