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 pract
Date.prototype.toISOString()
The toISOString() method returns a string in simplified extended ISO format (ISO 8601), which is always 24 or 27 characters long (YYYY-MM-DDTHH:mm:ss.sssZ or ±YYYYYY-MM-DDTHH:mm:ss.sssZ, respectively). The timezone is always zero UTC offset, as denoted by the suffix "Z".
// expected output: 2011-10-05T14:48:00.000Z