It seems that january 2038 will be the maximum supportet date in LN, because this results in a long value 2147483647. For example, a "date.to.utc" with a year higher than 2038 will result in a negativ return code.
How to deal with utc dates > 2038 ?
How to deal with utc dates > 2038 ?