﻿ //取当前时间，格式为,yyyy-mm-dd
function GetDateT2()
 {
  var d,s;
  d = new Date();
  s = d.getYear() + "-";             //取年份
  s = s + (d.getMonth() + 1) + "-";//取月份
  s += d.getDate();         //取日期
  return(s);
 } 
