Jarnot Voytek Contr AU HQ/SC wrote:

have you tried just passing the Date object to the setter?



Thank you but that's what I am doing : the getTime method of Calendar returns a Date object.
I just use the Calendar to modify the date created initially.


Actually I didn't know the setTimeMillis method of Calendar, so what I am doing is :

Calendar c = new GregorianCalendar();
c.setTimeMillis(System.currentTimeMillis());
//do something with the calendar...
...

Projection proj = new Projection();
proj.setPDate(now.getTime());
...
proj.save();


Pierre Henry



--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to