Is it possible to read the text from a XML file and output it into a table?
I'm trying to output the text in between
Best How To :
If you want to parse the date, use new Date(). Then you are free to do whatever you want. I hope the example below will be helpful.
var date = new Date('2014-12-22T22:41:17+00:00');
var textDate = date.getFullYear() + '-' + date.getMonth() + '-' + date.getDay();
And if you include
<span id="last-updated"></span> in your footer, you can change its value with the
document.getElementById('last-updated').innerHTML = textDate;
Is it what you were looking for?
Since you edited your comment, I see that you need a hint on parsing XML file. Try looking here: