iso8601_timezone_to_offset
iso8601_timezone_to_offset ( $timezone )
Parameters:- (string) timezone Either 'Z' for 0 offset or '±hhmm'.
Returns:- (int|float) The offset in seconds.
Defined at: - Introduced in WordPress: 1.5.0
- Deprecated in WordPress: —
Description
Given an ISO 8601 timezone, returns its UTC offset in seconds.