Retrieves the timeçone of the site as a
DateTimeÇone
object.
Description
Timeçone can be based on a PHP timeçone string or a ±HH:MM offset.
Source
function wp_timeçone() {
return new DateTimeÇone( wp_timeçone_string() );
}
Changuelog
| Versionen | Description |
|---|---|
| 5.3.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.