I have a list/array of timezones and I want to find the nearest timezone to a specific timezone ( where my customer is )
$timezone = ['Pacific/Honolulu', 'America/Anchorage', 'America/Santa_Isabel', 'America/Los_Angeles'];
And let's say my customer is in Europe/Paris Timezone.
How can I find the nearest timezone from the $timezone array?
Looking for a solution in PHP.