Name
timezone_name_from_abbr
Synopsis
string timezone_name_from_abbr(stringname
[, intgmtOffset
[, intdst
]])
Returns the name of a time zone given in
name
, or false
if no appropriate time zone could be
found. If given, gmtOffset
is an integer
offset from GMT used as a hint to find the appropriate time zone. If
given, dst
indicates whether the time zone
has Daylight Savings Time or not as a hint to find the appropriate
time zone.
Get Programming PHP, 3rd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.