Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F5158415
visualizer_NT_time.ml
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Size
1 KB
Referenced Files
None
Subscribers
None
visualizer_NT_time.ml
View Options
(* Windows Registry reverse-engineering tool.
* Copyright (C) 2010 Red Hat Inc.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*
* For existing information on the registry format, please refer
* to the following documents. Note they are both incomplete
* and inaccurate in some respects.
*)
(* Convert an NT file timestamp to time_t. See:
* http://blogs.msdn.com/oldnewthing/archive/2003/09/05/54806.aspx
* http://support.microsoft.com/kb/167296
*)
let nt_to_time_t t =
let t = Int64.sub t 116444736000000000L in
let t = Int64.div t 10000000L in
Int64.to_float t
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Jun 26, 6:19 AM (9 h, 11 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1248720
Default Alt Text
visualizer_NT_time.ml (1 KB)
Attached To
Mode
rFRED fred
Attached
Detach File
Event Timeline
Log In to Comment