摘要: 1.日期转换成时间戳 var now=new DateTime.now(); print(now.millisecondsSinceEpoch); //单位毫秒,13位时间戳 2.时间戳转换成日期 var now=new DateTime.now(); var a=now.millisecondsS 阅读全文
posted @ 2019-11-08 11:29 _JJJ 阅读(9772) 评论(1) 推荐(1) 编辑