String timestamp= System.currentTimeMillis()+"";
Date date = new Date(Long.valueOf(timestamp));
发布者:全栈程序员-站长,转载请注明出处:https://javaforall.net/188746.html原文链接:https://javaforall.net
Android 时间戳字符串转Date类型[通俗易懂]Stringtimestamp=System.currentTimeMillis()+””;Datedate=newDate(Long.valueOf(timestamp));
String timestamp= System.currentTimeMillis()+"";
Date date = new Date(Long.valueOf(timestamp));
发布者:全栈程序员-站长,转载请注明出处:https://javaforall.net/188746.html原文链接:https://javaforall.net