I am creating an app that will automatically update sitemap.xml
each time new content is added to, or updated on the site.
According to Google's best practices the <lastmod></lastmod>
tag should be formatted as follows:
<lastmod>2011-06-27T19:34:00+01:00</lastmod>
My question concerns the time formatting itself. I understand the 2011-06-27T19:34:00
part. What I do not understand is the +01:00
, which I am assuming is the +/- UTC
.
Is this a correct assumption?
My Time Zone Table looks like this:
So if the site was based in #4 Afghanistan the correct time would be:
2011-06-27T19:34:00+04:00
And if the site was based in #6 Alaska Standard Time the correct time would be: 2011-06-27T19:34:00-09:00
Is my assumption correct or am I not correctly understanding the +01:00
?