js/RASPtableLeaf.js
// Return "yyyymmdd" from T as string
Return "yyyymmdd" from T as string
Return " yyyymmdd " from T as string
function mkdat(T)
{
  var dom, mon, year;
  dom = T.getDate();
  if(dom < 10){dom = "0" + dom;}
  mon = T.getMonth() + 1;
  if(mon < 10){mon = "0" + mon;}
  year = T.getFullYear()
  return( "" + year + mon + dom);
}
function mkdat ( T ) { var dom , mon , year ; dom = T . getDate ( ) ; if ( dom < 10 ) { dom = "0" + dom ; } mon = T . getMonth ( ) + 1 ; if ( mon < 10 ) { mon = "0" + mon ; } year = T . getFullYear ( ) return ( "" + year + mon + dom ) ; }
Return "yyyymmdd" from T as string
Return " yyyymmdd " from T as string