且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

将linux时间戳转换为android日期

更新时间:2023-02-03 15:06:12

UNIX时间戳应以毫秒为单位,因此将Long值乘以1000.因此您的值1386889262将为1386889262000:

UNIX timestamp should be in milliseconds so multiply the Long value by 1000. So your value 1386889262 would be 1386889262000: