js 获取时间给时间控件赋值

            var d = new Date();
            var yy = d.getFullYear();
            var mm = d.getMonth() + 1;
            var date = d.getDate();

            var op_delivery_date = yy + "-" + mm + "-" + date;                         //交货日期

 


 

posted @ 2014-04-16 11:27  lengv10  阅读(1747)  评论(0编辑  收藏  举报