improved readability around getTime()