hi
the following code will be helps to you
java.util.Date mt=rs.getTime("Msgdate");
String t1=mt.getHours();
String t2=mt.getMinutes();
String t3=mt.getSeconds();
out.println(t1);
out.println(t2);
out.println(t3);
that is all.
________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".