A light year is a measure of distance, not time. It is defined as the distance light travels in one year.