html页面中,控件获取系统日期
<script type="text/javascript" language="javascript">
var today = new Date();
document.getElementById("txtSYtime").value = today.getFullYear() + '-' + (today.getMonth() + 1) + '-' + today.getDate();
</script>
html页面中,控件获取系统日期
<script type="text/javascript" language="javascript">
var today = new Date();
document.getElementById("txtSYtime").value = today.getFullYear() + '-' + (today.getMonth() + 1) + '-' + today.getDate();
</script>