fix the year bug. NOTED that need to use getFullYear() instead