Hi
I'm getting some values from Postgres database.
The First column is Date in the following format: 2008-01-01 01:00:00
But when i put the results int the array by this command: dt[m]= new
Date(res.getTimestamp(1).getNanos());
Then I get : Wed Dec 31 19:00:00 EST 1969
What's going on ?
Regar
Ok thanks Ian, makes sense,
Mark
On Jun 26, 11:30 pm, Piotr Kirklewski
wrote:
> Hi
>
> I'm getting some values from Postgres database.
> The First column is Date in the following format: 2008-01-01 01:00:00
>
> But when i put the results int the array by this command: dt[m]= new
> Date(res.getT