会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
_JJJ
博客园
首页
博问
闪存
新随笔
订阅
管理
2019年11月8日
Flutter DateTime日期转换
摘要: 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)
编辑