When creating an access token using API V8, the access_token_expires field in the database is in local time, not UTC. This probably fixable by switching the php.ini timezone to UTC, but that’s more fixing the symptom than the problem.
Whatever function is used by SuiteCRM in order to fix the datetime format/time zone before storing in the database is not being used on the access token expiration date. If anyone has any idea where this happening, I’d like to take a stab at fixing the issue. Having one datetime field in the database operate on different rules is a problem.
It’s either that or the documentation should be updated. Currently, installation documentation does not say to set php to UTC time zone, which is leading to poor user experience.
I can provide some details and examples if necessary.