摘要:
以前在页面中获得当前时间的方法如下:function SelectTodayClient() { var d = new Date(); var taday = d.getYear() + "-" + (d.getMonth() + 1) + "-" + d.getDate(); alert($(taday);}IE运行正常,FF,chrome运行如下:113-8-30这样在程序中就会出现SqlDateTime 溢出异常:SqlDateTime 溢出。必须介于 1/1/1753 12:00:00 AM 和 12/31/9999 ... 阅读全文