File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Java in General
How to convert large_integer to date
Joined: Jul 07, 2005
Jul 07, 2005 02:43:00
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
Joined: Jan 29, 2003
Jul 09, 2005 17:52:00
LARGE_INTEGER isn't a
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:
subject: How to convert large_integer to date
How to convert timeStamp into corresponding date.
how to convert String into Date format
Convert sql date to util date
Converting Date between Java and DB
Casting String / char to self defined class
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015