Skip to main content
replaced http://sharepoint.stackexchange.com/ with https://sharepoint.stackexchange.com/
Source Link

using moment.js

$(document).ready(function(){
 var d = new Date("Tue June 24 09:30:07 PDT 2014");
 $("#dDate").html(moment(d).format("DD/MM/YYYY"));

});

it is been answered in this post: Format Date (25 Jul) using Javascript Object ModelFormat Date (25 Jul) using Javascript Object Model

using moment.js

$(document).ready(function(){
 var d = new Date("Tue June 24 09:30:07 PDT 2014");
 $("#dDate").html(moment(d).format("DD/MM/YYYY"));

});

it is been answered in this post: Format Date (25 Jul) using Javascript Object Model

using moment.js

$(document).ready(function(){
 var d = new Date("Tue June 24 09:30:07 PDT 2014");
 $("#dDate").html(moment(d).format("DD/MM/YYYY"));

});

it is been answered in this post: Format Date (25 Jul) using Javascript Object Model

Source Link
Supermode
  • 1.8k
  • 2
  • 16
  • 33

using moment.js

$(document).ready(function(){
 var d = new Date("Tue June 24 09:30:07 PDT 2014");
 $("#dDate").html(moment(d).format("DD/MM/YYYY"));

});

it is been answered in this post: Format Date (25 Jul) using Javascript Object Model