Hello,
I am trying to understand how
to format the 64bit stamp that windows NT uses.
I take the HEX string 01C1C7F9DDFBD86F (Sun, 10 March 2002 06:07:32 GMT)that I get from RunTimes Disk Explorer.
Here is what I do.
01C1C7F9DDFBD86F = 126602140528138351
126602140528138351 / 10,000,000 / 86400 /365.162 = 401.274654101195823259164324225859
I am using 365.162, because it is a year division that gives me something close to what I should be getting. Using 365.25 produces a value too far off. 365.162 I guess is just an arbitrary number, I obtained it through trial and error.
401.274654101195823259164324225859 + 1601 = 2002.27465410119582325916432422586 (Year=2002)
.27465410119582325916432422586 = 100.2487469364754895949783424389 / 30 = 3.34162489788251631983261141463 (Month = 3 =March)
.34162489788251631983261141463 * 30 = 10.2487469364754895949783424389 (DAY=10)
.2487469364754895949783424389 * 24 = 5.9699264754117502794802185336 (Hour =5)
.9699264754117502794802185336 * 60 = 58.195588524705016768813112016 (Minuets =5![]()
.195588524705016768813112016 * 60 = 11.73531148230100612878672096 (Seconds = 11)
Most of the values I use like dividing by 30 to get the Month, are used because again they give me the closest outcome, even though I think I should be using 30.6?
I tried this on other dates, and I get similar results , most of the outcomes have the time wrong, and one I was off by a day. I know I am doing this wrong, and appreciate your time reading this. All of the websites I searched, explain this in an abstract way, and do not provide a step by step example.
Again, Thank you for your time.
Wolfgang

Chowhound
Comic Vine
GameFAQs
GameSpot
Giant Bomb
TechRepublic