获取当前日期只保留年月日

new Date().toLocaleDateString()

猜你喜欢

转载自blog.csdn.net/sinat_42664398/article/details/91491730
今日推荐