added funcs: day2date, day2year