1.Long 转 Date Date time = new Date(Long l); 2.Date转Long Date date = new Date(); Long l = date.getTime();