X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 6CA80564EB for ; Mon, 7 Mar 2005 20:01:31 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 88424-02 for ; Mon, 7 Mar 2005 20:01:29 +0000 (GMT) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.197]) by svr1.postgresql.org (Postfix) with ESMTP id 9A56A564E2 for ; Mon, 7 Mar 2005 20:01:28 +0000 (GMT) Received: by wproxy.gmail.com with SMTP id 68so1569834wra for ; Mon, 07 Mar 2005 12:01:30 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:user-agent:x-accept-language:mime-version:to:subject:content-type:content-transfer-encoding; b=j2wRd1foEGirmmGhvj+ubqMNTwpP9pH7MUqOW+BTFo4LZqqwh4GiL4nKCZoEPCesf96NVENJJc1ZLF4IUjXtzDSQivXaVJSNHa1dyeEbKrRTk+v/ispWzz/7aCcjHvehaDa8qybIqAI0xnI+rnVi05PRhc51rw8ZVIY00gWrClU= Received: by 10.54.45.77 with SMTP id s77mr100308wrs; Mon, 07 Mar 2005 12:01:29 -0800 (PST) Received: from ?138.232.9.37? ([138.232.9.37]) by smtp.gmail.com with ESMTP id 6sm543641wrl.2005.03.07.12.01.28; Mon, 07 Mar 2005 12:01:29 -0800 (PST) Message-ID: <422CB316.9000507@gmail.com> Date: Mon, 07 Mar 2005 21:01:26 +0100 From: Mican Bican User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: de-DE, de, en-us, en MIME-Version: 1.0 To: pgsql-jdbc@postgresql.org Subject: Convert java.sql.Date to java.util.Date Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.54 tagged_above=0 required=5 tests=FROM_ENDS_IN_NUMS, RCVD_BY_IP X-Spam-Level: X-Archive-Number: 200503/55 X-Sequence-Number: 12448 Hi, How can I Convert a java.sql.date to java.util.date the other way is not a problem... a method like this.. public java.util.Date getUtilDate(java.sql.Date in){ java.util.Date date; ...convert...convert... return date; } thank.. you!! best regards. Mican Bican