tzname#

Short names of the current standard and daylight timezones.

Synopsis#

use POSIX qw(tzname);
my ($std, $dst) = tzname();

What you get back#

A two-element list. Both strings are derived from TZ — the call also implicitly refreshes the timezone cache.

Differences from upstream#

Fully compatible with upstream POSIX.