Retrieving the server time and date -- java??

Поиск
Список
Период
Сортировка
Искать

Retrieving the server time and date -- java??

От:
Carlos <Carlos@pbsinet.com>
Дата:

Hi Forum,

Could someone give me java code to retrieve the date and time of the server by calling the Now function via JDBC?

Thanks in advance,

Re: Retrieving the server time and date -- java??

От:
Dave Cramer <Dave@micro-automation.net>
Дата:
select now();

Dave

On Mon, 2003-06-09 at 12:15, Carlos wrote:
> Hi Forum,
> 
> Could someone give me java code to retrieve the date and time of the
> server by calling the Now function via JDBC?
> 
> Thanks in advance,
-- 
Dave Cramer 

Re: Retrieving the server time and date -- java??

От:
"Carlos Oliva" <carlos@pbsinet.com>
Дата:
Tx.

-----Original Message-----
From: Dave Cramer [mailto:Dave@micro-automation.net] 
Sent: Tuesday, June 10, 2003 5:59 AM
To: Carlos
Cc: 'pgsql-jdbc@postgresql.org'
Subject: Re: [JDBC] Retrieving the server time and date -- java??


select now();

Dave

On Mon, 2003-06-09 at 12:15, Carlos wrote:
> Hi Forum,
> 
> Could someone give me java code to retrieve the date and time of the 
> server by calling the Now function via JDBC?
> 
> Thanks in advance,
-- 
Dave Cramer 

FAQ