---------------------------------------------------------------- BEFORE YOU POST, search the faq at <http://java.apache.org/faq/> WHEN YOU POST, include all relevant version numbers, log files, and configuration files. Don't make us guess your problem!!! ---------------------------------------------------------------- Let the database do it for you. Select Convert( varchar( 12 ), timestampcolumn, format# )... -----Original Message----- From: Chris Hill [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 07, 2000 2:20 PM To: 'Java Apache Users' Subject: TIMESTAMP to String ??? ---------------------------------------------------------------- BEFORE YOU POST, search the faq at <http://java.apache.org/faq/> WHEN YOU POST, include all relevant version numbers, log files, and configuration files. Don't make us guess your problem!!! ---------------------------------------------------------------- Hi all, Can anyone enlighten me how I can convert a TIMESTAMP extracted froma database into a string. I'm using servlet to talk to database via ejb containers, I can retrieve the information ok, but i'm unaware of how to return a timestamp and then convert it too a string to embed within html output.. Best Regards, Chris -- -------------------------------------------------------------- Please read the FAQ! <http://java.apache.org/faq/> To subscribe: [EMAIL PROTECTED] To unsubscribe: [EMAIL PROTECTED] Archives and Other: <http://java.apache.org/main/mail.html> Problems?: [EMAIL PROTECTED] -- -------------------------------------------------------------- Please read the FAQ! <http://java.apache.org/faq/> To subscribe: [EMAIL PROTECTED] To unsubscribe: [EMAIL PROTECTED] Archives and Other: <http://java.apache.org/main/mail.html> Problems?: [EMAIL PROTECTED]
