Added comment to the convertTime function