专注于互联网--专注于架构

最新标签
网站地图
文章索引
Rss订阅

首页 »Asp教程 » sql当前时间函数:一个得到当前的时间函数 »正文

sql当前时间函数:一个得到当前的时间函数

来源: 发布时间:星期四, 2008年9月25日 浏览:280次 评论:0

很多人都要用到的一个函数,新手可能不知道,发出来给大家看看。

function butDateID_Click(srcpathID)
{
document.getElementById(srcpathID).value=new Date().getYear()+\"-\"+(new Date().getMonth()+1)+\"-\"+new Date().getDate();
}

相关文章

读者评论

  • 共0条 分0页

发表评论

  • 昵称:
  • 内容: