Updated: d = new Date(document.head.querySelector("[property~='article:modified_time']").content) document.querySelector("#update_date").textContent = d.toUTCString() This is an aggregation (so I don't loose them 😅️) of different shell tricks I have learned. Other resourcesOther resources - othersOther resources - others - websitesManipulating Strings - https://tldp.org/