Simplify year and month calculation from bcd field.