I have the following line of code and would like to display the time also but add a text between the date and time:
Code: \'Posted o
Posted o
This was my final working code:
var dateString = val.date; // this display my blog post date e.g. "2013-09-02 15:04:50" var split = dateString.split(' '); output += 'Posted on ' + split[0] + ' at ' + split[1] + '';
Hope this helps others