Android 时间戳字符串转Date类型

来源:互联网 发布:徐老师外设店淘宝店网 编辑:程序博客网 时间:2024/06/04 01:35



String timestamp= System.currentTimeMillis()+"";Date date = new Date(Long.valueOf(timestamp));