I'd like to be able to display in a Delphi 2009 program, the date and time that the program was compiled.
Is there a simple way to do this?
At least since Delphi 2007 the linker timestamp in the PE Header should be written. (In older versions like Delphi 5 the timestamp in the PE header was something in 1992 and the real timestamp could only be found in the resources)
If you already use the JCL then try PeReadLinkerTimeStamp from JclPEImage.pas SVN View
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With