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:

Description

Computes an offset in seconds from an iso8601 timezone.

Related Functions

wp_timezone_override_offset, wp_timezone_choice, iso8601_to_datetime, wp_timezone_supported, load_image_to_edit

Top Google Results

User discussions

wpseek mobile