Login | |
|
 |
How to convert the value stored in Reg_Binary into Date... - 2/10/2006 4:04:02 AM
|
|
 |
|
| |
vetterke
Posts: 2
Score: 0
Joined: 2/10/2006
From: Ghent, Belgium
Status: offline
|
How to convert the value stored in Reg_Binary into Date/Time? For example the Last ShutDownTime is stored into the registry: [HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Windows] "ShutdownTime"=hex:44,a5,0f,47,c9,2c,c6,01 This should be converted into YYYY-MM-DD HH:MM:SS I did found a function in VB 6.0. but didn't succeed to make a script that return the preferred value. Things I think are related, but can't succeed put them into a bvscript: - A file time is a 64-bit value that represents the number of 100-nanosecond intervals that have elapsed since 12:00 A.M. January 1, 1601 Coordinated Universal Time (UTC). - http://www.rlmueller.net/Last%20Logon.htm Does anyone knows about this issue and has a solution? Tnx, kris
|
|
| |
|
|
|
| |
|
|
 |
|
 |
|
|