Re: conver Date to long

From: zuth <tzhong_at_163.net>
Date: 14 Nov 2001 08:23:08 -0800
Message-ID: <c8c3eca3.0111140823.4ac8143b_at_posting.google.com>


BTW, I just tried java.util.Date and try getTime. I got like '1003441200000', BUT, I need, example, '1003441232123'

The first several digits are some. But java.util.Date looks not wrapper all filed, right? How can I resolve it?

tzhong_at_163.net (zuth) wrote in message news:<c8c3eca3.0111131915.412b87a_at_posting.google.com>...
> How to conver Date to long?
>
> I use 'select my_date from tbl;', it reply such as'11-Nov-01'.
> However, I want it reply long, like '12345678901...'
>
> And, if I use JDBC, how can I get the long from Date? I searched Class
> Java.sql.Date but can not find the proper answer.
>
> thanks,
> tz
Received on Wed Nov 14 2001 - 17:23:08 CET

Original text of this message