how do I get the JavaScript date version of this: "Saturday 5th November, 2016"? -
being scouring net javascript date version of following: saturday 5th november, 2016 i've tried looking @ day , month arrays... im kinda stumped. particular date format got php date format of: date("l js f, y"). there javascript version of - (complete date suffix)? tips great. cheers.
the closest format, try this
var d=new date; var str=d.todatestring(); console.log(str);
it output "sun nov 13 2016"
Comments
Post a Comment