> -----Original Message----- > From: Anders Jørvad (RWDK) [mailto:[EMAIL PROTECTED]] > Sent: Thursday, September 19, 2002 3:04 AM > 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???????
try java.text.SimpleDateFormat. > > Regards > > Anders Vikram. > > ______________________________________________________________ > _____________ > 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