Made a getter for the time