Subject: How to get the server date? 2006-03-14 - By Joel Alejandro Espinosa Carra
Back I thinks it's better to use
Date now = Calendar.getInstance().getTime();
Regards.
Mike New wrote:
>>Hi all, I have to get the server system date with database independency. I >>am using hibernate 3,0 but I haven't found how to do it using it. I >>thought >>in using RMI Calendar.getCalendar, but this would be to much for just >>getting a date (we don't use RMI here). >> >> > >new java.util.Date(); > > > >>-- >>Best regards >>Dirceu Semighini filho >> >>==========================================================================To >>unsubscribe, send email to listserv@(protected) and include in the body >>of the message "signoff J2EE-INTEREST". For general help, send email to >>listserv@(protected) and include in the body of the message "help". >> >> >> >> > > >-- ---- ---- ------ _/ /// // -- ---- ---- ---- -- > >=========================================================================== >To unsubscribe, send email to listserv@(protected) and include in the body >of the message "signoff J2EE-INTEREST". For general help, send email to >listserv@(protected) and include in the body of the message "help". > > >
-- Ing. Joel Alejandro Espinosa Carra CINVESTAV CTS - Centro de Tecnolog?a de Semiconductores Tel. +52 (33) 3770-3700 ext. 1049 http://www.cts-design.com
-- Este mensaje ha sido analizado por MailScanner en busca de virus y otros contenidos peligrosos, y se considera que est? limpio. MailScanner agradece a transtec Computers por su apoyo.
=========================================================================== To unsubscribe, send email to listserv@(protected) and include in the body of the message "signoff J2EE-INTEREST". For general help, send email to listserv@(protected) and include in the body of the message "help".
|
|