SimpleDateFormat format = new SimpleDateFormat( "yyyy-MM-dd HH:mm:ss" );
String date = format.format(new Date(Long.parseLong("1442246400000")));
System.out.println("Format To String(Date):"+date);
欢迎分享,转载请注明来源:内存溢出
SimpleDateFormat format = new SimpleDateFormat( "yyyy-MM-dd HH:mm:ss" );
String date = format.format(new Date(Long.parseLong("1442246400000")));
System.out.println("Format To String(Date):"+date);
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)