Hello gentlemen, i have a problem with dates. I use Mysql vesr 3.23
I use this line of code to save the timestamp of the login (the lastlogintimestamp is a "datetime" column): myUser.setLastlogintimestamp(Calendar.getInstance().getTime()); this line of code: System.out.println(Calendar.getInstance().getTime()); gives this result: Tue Jun 18 16:47:18 GMT+02:00 2002 but on the database the recorded time is: 2002-06-18 15:47:18, so one hour earlier. Can anybody explain this? The timezone of the mysql server is : W. Europe Daylight Time the timezone of my PC ig GMT+01. thx in advance -- Fabio Daprile W�rth-Phoenix Srl Via Kravogl 4, I-39100 Bolzano Tel: +39 0471/564111 - (direct 564070) Fax: +39 0471/564122 mailto:[EMAIL PROTECTED] http://www.wuerth-phoenix.com http://www.wuerth.com -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
