Chris H. wrote:
On Sep 17, 10:19ï¿½am, Brian C. [email protected] wrote:
The first hit is code.
It looks like Win32::Registry.wtime2time() (http://ruby-doc.org/stdlib/
might do the trick.
I have just tried this and I get a big num error. See an example below:
When I try the following however it works:
highpart = 29513297
lowpart = 1857145088
intLogonTime = highpart * (2**32) + lowpart
intLogonFloat = intLogonTime.to_f / (60 * 10000000 * 1440).to_f
last_logon = intLogonFloat
base = DateTime.new(1601,1,1,0,0,0)
base += intLogonFloat