Hi
Use --> new Timestamp((long)value), where value is what you get from the Database. Thanks & Regards Balasubramaniyan Krithivasan -----Original Message----- From: A mailing list for discussion about Sun Microsystem's Java Servlet API Technology. [mailto:[EMAIL PROTECTED]]On Behalf Of Anders Jørvad (RWDK) Sent: Thursday, September 19, 2002 3:34 PM To: [EMAIL PROTECTED] Subject: System.currentTimeMillis() Hi all. have a table in my database where i register the time of creation for a record. This field is set = System.currentTimeMillis() Now when the user gets the record displayed in he browser he gets af lagre number for display. I want to convert the number into the time and date for creation, but can't find a method for doing so i have tryed to use date() and time() but without any look??????? Regards Anders ___________________________________________________________________________ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff SERVLET-INTEREST". Archives: http://archives.java.sun.com/archives/servlet-interest.html Resources: http://java.sun.com/products/servlet/external-resources.html LISTSERV Help: http://www.lsoft.com/manuals/user/user.html ___________________________________________________________________________ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff SERVLET-INTEREST". Archives: http://archives.java.sun.com/archives/servlet-interest.html Resources: http://java.sun.com/products/servlet/external-resources.html LISTSERV Help: http://www.lsoft.com/manuals/user/user.html