🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: es.comp.lenguajes.java
Article #17963

Re: Dates in Java-Oracle

#17963
From: Gonzalo Paniagua Javier
Date: Sat, 07 Oct 2000 00:00
23 lines
1412 bytes
In article <39db0f88.90686578@news.ericsson.se>,
  ecejabs@ece.ericsson.se wrote:
> Hello !
>
> 	I'm trying to make dates queries in Oracle using JDBC-Java.
> When I use rs.getDate(Oracledatefield) it returns a java Date object
> with the correct date but not a correct time. If I use
> rs.getTime(Oracledatefield) it returns a java Date object with the
> correct time but not a correct date. And after that, I don't know how
> to join the time field of the second Date object with the date field
> of the first one.
>
> 	Any ideas?
>
> 	Thanks in advance.

	1� Esto es un grupo en castellano o espa�ol o como lo quieras llamar.
	2� Int�ntalo con getTimestamp() a ver qu� tal.



Sent via Deja.com http://www.deja.com/
Before you buy.
Technical Details
Message-ID: <8rnf8o$acs$1@nnrp1.deja.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <39db0f88.90686578@news.ericsson.se>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: 1116f3,9ba992f78f618318
X-Google-Attributes: gid1116f3,public
From: Gonzalo Paniagua Javier <gpanjav@jazzfree.com>
Subject: Re: Dates in Java-Oracle
Date: 2000/10/07
Message-ID: <8rnf8o$acs$1@nnrp1.deja.com>
X-Deja-AN: 678667815
References: <39db0f88.90686578@news.ericsson.se>
X-Http-Proxy: 1.0 x61.deja.com:80 (Squid/1.1.22) for client 62.22.70.132
Organization: Deja.com - Before you buy.
X-Article-Creation-Date: Sat Oct 07 15:25:16 2000 GMT
X-MyDeja-Info: XMYDJUIDgonlalo
Newsgroups: es.comp.lenguajes.java
X-Http-User-Agent: Mozilla/4.75 [es] (X11; U; Linux 2.2.17 i686)