一句搞定JS常见日期格式 Posted on 2019-09-19 | Updated on 2020-06-29 | In work , study | comments: | Visitors: Words count in article: 15 | Reading time ≈ 1 得到的日期格式:”2019-9-19” 1new Date().toLocaleDateString().replace(/ \ / /g,’-’) Post author: 视也 Post link: http://www.noh55iw.com/js得到常见日期格式一句搞定/ Copyright Notice: All articles in this blog are licensed under CC BY-NC-SA 3.0 unless stating additionally.