Javascript Date defaultView()

Description

Javascript Date defaultView()



Date.prototype.defaultView=function(){
  var dd=this.getDate();
  if(dd<10)dd='0'+dd;
  var mm=this.getMonth()+1;
  if(mm<10)mm='0'+mm;
  var yyyy=this.getFullYear();
  return String(dd+"."+mm+"."+yyyy)
}



PreviousNext

Related