Chrome recently introduced a restriction (Chrome 104+) that caps the maximum cookie lifetime to 400 days.
So even if you set a longer expiry (like 3 years or 2038), Chrome will silently shorten it.
This limit applies to both expires and max-age directives.
Older cookies created before v104 may still keep their original dates, but any new cookies are forced under the 400-day rule.