When accessing information about a Facebook user, Facebook provides a timezone property that is an integer representing the user's offset from GMT. However, [PHP uses timezone identifiers that are strings](). So, find a way to translate from timezone offset to appropriate timezone identifier and then use that, dynamically. (I suppose the timezone preference stored in the database for the current user can be used as a fallback.)
When accessing information about a Facebook user, Facebook provides a
timezone
property that is an integer representing the user's offset from GMT. However, [PHP uses timezone identifiers that are strings](). So, find a way to translate from timezone offset to appropriate timezone identifier and then use that, dynamically. (I suppose the timezone preference stored in the database for the current user can be used as a fallback.)