Compiled date to string
Date: 05.03.12 - 2:43am
Quick example of turning the time stamp embedded in an executable into a human readable string using vb6.
This code has just been integrated into my pe editor classes as well.
shows GMT: Wed Dec 7 20:45:05 2011 MsgBox LinkerTimeStampToString(&H4EDFD051) Function LinkerTimeStampToString(timestamp As Double) As String On Error Resume Next Dim base As Date Dim compiled As Date base = DateSerial(1970, 1, 1) compiled = DateAdd("s", timestamp, base) LinkerTimeStampToString = "GMT: " & Format(compiled, "ddd mmm d h:nn:ss yyyy") End Function
Of for a standalone version: (x64 safe)