Download Business Talk Blogger Template

8 sec read

Download Business Talk Blogger Template

I have a problem to display date post

var timestamp = “”;
if (timestamp != ”) {
var timesplit = timestamp.split(“,”);
var date_yyyy = timesplit[2];
var timesplit = timesplit[1].split(” “);
var date_dd = timesplit[2];
var date_mmm = timesplit[1].substring(0, 3);
}

document.write(date_dd);
document.write(date_mmm);

↩ Reply

Download

Leave a Reply

Your email address will not be published. Required fields are marked *