Changes between Initial Version and Version 1 of Ticket #39595, comment 14
- Timestamp:
- 03/27/2018 01:08:36 PM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #39595, comment 14
initial v1 4 4 > Basically, WordPress does the same job as PHP here, while leaving the default timezone as UTC for consistent time calculation throughout the rest of the system. 5 5 6 @Otto42 Thanks for that. Just after my reply I saw that you can put `London` there, not just only `UTC+1`. Ane really really Sorry for the annoyance...6 @Otto42 Thanks for that. Just after my reply I saw that you can put `London` there, not just only `UTC+1`. Ane really really sorry for the annoyance... 7 7 8 Just for the sake of information. If you run`new DateTime` in your theme/plugin it will not get the timezone selected in wordpress settings. Always add manually the TimeZone object.8 Just for the sake of information. If you use `new DateTime` in your theme/plugin it will not get the timezone selected in wordpress settings. Always add manually the TimeZone object. 9 9 10 10 The selected timezone will be available via `get_option('timezone_string')`