I have this variable which is to hold a string for a time/date.
The problem is that, it also shows timezone which i don't want. So this is what i have:
//data[i].posted has seconds sinch epoch
var postedon = new Date( parseInt(data[i].postedon/1000) );
document.write = postedon;
The result is i get for example:
Thu Jan 01 1970 00:00:00
GMT+0000 (GMT Standard Time)
Thing is i don't want the GMT+0000 (GMT Standard Time)
How can i filter that out ?