getting the time