Duplicate Snippet
Embed Snippet on Your Site
Change Time zone Offset in the Publish Date of the Sitemap Entries
The code snippet below can be used to change the time zone offset in the publish date of the sitemap entries. This can be useful for when a platform requires the date to be formatted to a specific timezone (e.g. Yandex News/Zen/Дзéн).
Code Preview
php
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
Comments