ActionScheduler_TimezoneHelper::set_local_timezone( DateTime $date )

Set a DateTime’s timezone to the WordPress site’s timezone, or a UTC offset if no timezone string is available.


Description Description


Parameters Parameters

$date

(Required)


Top ↑

Return Return

(ActionScheduler_DateTime)


Top ↑

Source Source

File: packages/action-scheduler/classes/abstracts/ActionScheduler_TimezoneHelper.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
2.1.0 Introduced.


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.