日期:2014-05-20 浏览次数:20808 次
public class Test { public static void main(String[] args) { java.util.Date date = java.sql.Timestamp.valueOf("2009-12-30 14:36:55"); String str = Long.toHexString(date.getTime()); System.out.println(str); } }