Always return year as number in strToDate