updated docstring of sec2year