- 博客(4)
- 收藏
- 关注
原创 js日期格式转换
根据百度的方法封装的js函数function getDateFormat(date,format) { let time = { "M+": date.getMonth() + 1, //月份 "d+": date.getDate(), //日 "h+": date.getHours(), //小时 "m+": date.getMinutes(), //分 "s+": date.getSec
2022-01-13 16:35:27
517
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人