• Formats a year to the full 4 digit year to be used in Date methods

    Parameters

    • year: number

    Returns number