var time = new Date().Format(“yyyy-MM-dd”)
js获取当前时间,格式为yyyy-mm-dd,自动补零
猜你喜欢
转载自blog.csdn.net/JavaSupeMan/article/details/118963057
今日推荐
周排行