I would like to define in my code a constant holding the date on which the executable was built. I would naturally like to automate that process.
I know that I can w
If you use/have JCL then jclPEImage.PeReadLinkerTimeStamp() does what you're after. Old versions of Delphi didn't set the linker timestamp, but AFAIK new versions do (ie it seems to work OK with D2010).
jclPEImage.PeReadLinkerTimeStamp()