只需一步,快速开始
javascript把时间戳转换为普通日期格式的方法:1、使用Date toLocaleString方法;2、使用封装的时间格式器,代码为【function date(format, timestamp)】。
首页
分类
索引
我的