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 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:
- if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
subject: How to convert large_integer to date
Converting Date between Java and DB
How to convert timeStamp into corresponding date.
how to convert String into Date format
Casting String / char to self defined class
Convert sql date to util date
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013