Jump to content

holyeyed

Members
  • Posts

    1
  • Joined

  • Last visited

Everything posted by holyeyed

  1. #include<Date.au3> ; Read Value Func _filetime2str($RegVal = "6000000010000000") ; Create a FileTime Struct (in bytes, so you can set value) $FileTime = DllStructCreate("struct; dword hi; dword lo; endstruct") ; set data to struct ;set hi value DllStructSetData($FileTime,1,Binary("0x"&Stringleft($RegVal,8))) ;set lo value DllStructSetData($FileTime,2,Binary("0x"&StringRight($RegVal,8)) ; Convert to String $String = _Date_Time_FileTimeToStr($FileTime) ConsoleWrite($String&@CRLF) return $String EndFunc this is what i use to convert 64bit FileTime value from registry into Readable Date/Time string convert 64bit Filetime hex string into local time String
×
×
  • Create New...