Automattic\WooCommerce\Utilities

TimeUtil::get_utc_date_time_zone()public staticWC 1.0

Get the instance of the DateTimeZone object representing UTC.

Method of the class: TimeUtil{}

No Hooks.

Return

DateTimeZone. DateTimeZone object representing UTC.

Usage

$result = TimeUtil::get_utc_date_time_zone(): DateTimeZone;

TimeUtil::get_utc_date_time_zone() code WC 8.9.0

public static function get_utc_date_time_zone(): DateTimeZone {
	return self::$utc_date_time_zone;
}