I have a timezone name and I want the name of the timezone double its offset.
For instance, Asia/Dubai is +4, I want to reverse that to -4... and have it resolved to EDT
Language: PHP
Here's a sample of what it would look like:
$timezone = "Asia/Dubai"
$offset = $timezone->getOffset();
$offset 0 - $offset;
$timezone = $offset->getTimeZone();
Output: EDT