How to get compilation date and time in Delphi

I would like to be able to display in the Delphi 2009 program the date and time at which the program was compiled.

Is there an easy way to do this?

+5
source share
4 answers

At least with Delphi 2007, the linker timestamp should be written in the PE header. (In older versions, such as Delphi 5, the timestamp in the PE header was something in 1992, and the real timestamp could only be found in resources)

If you are already using JCL, try PeReadLinkerTimeStamp from JclPEImage.pas View SVN

+10
source

exe, .

. , IDE, , .

PE.

+5

PE. ( , ), Delphi . , Delphi 2010. IDE PE . CodeCentral: 19823 PE TimeDateStamp .

+4

IDE, , .INC , . " ". , , , . FinalBuilder , , . , utiltity, - ; . , , IDE .

+2
source

All Articles