Two Laptop Bag*
The moose likes Java in General and the fly likes How to convert large_integer to date Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "How to convert large_integer to date" Watch "How to convert large_integer to date" New topic
Author

How to convert large_integer to date

raduen hamid
Greenhorn

Joined: Jul 07, 2005
Posts: 1
Hallo...
When i read a Active Dir user properties the lastlogon field is a LARGE_INTEGER, how can i convert this to a readable date/time formaat
Stan James
(instanceof Sidekick)
Ranch Hand

Joined: Jan 29, 2003
Posts: 8791
LARGE_INTEGER isn't a Java type. Are you getting this from JNI to C++ or something? If the Java type is long there is a date constructor using a long.


A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to convert large_integer to date
 
Similar Threads
Converting Date between Java and DB
How to convert timeStamp into corresponding date.
how to convert String into Date format
Convert sql date to util date
Casting String / char to self defined class