首页 > TAG信息列表 > 戳格
根据时间戳格格式化字符转(dddd-mm-dd )
export function getDateTime(value) { var b = new Date(value); var year = b.getFullYear()+'-'; var month = (b.getMonth()+1); var date = b.getDate(); if(month<10){ month = '0'+ (b.getMonth()+1)+'-'根据时间戳格格式化字符转(dddd-mm-dd )
export function getDateTime(value) { var b = new Date(value); var year = b.getFullYear()+'-'; var month = (b.getMonth()+1); var date = b.getDate(); if(month<10){ month = '0'+ (b.getMonth()+1)+'-'