DelphiFAQ Home Search:
General :: Programming :: Delphi
General Delphi related information.


This list is sorted by recent document popularity (not total page views).
New documents will first appear at the bottom.
Recommended links on this topic:
Featured Article

How to get the compile Date into the executable

It's very nice to have a number say in the about box that the customer can read you, and you can immediately find the version.

Write a program which outputs the current date to a text file called something like '' and include it with {$include} in each of your units.
Then integrate this little tool into your Delphi IDE and run it every time you make a new build.

// by Martin Larsson,
 // include file ""
    _day   : string[10] = 'Monday';
    _date  : word = 12;
    _month : word = 8;
    _year  : word = 1996;

Generated 16:02:00 on Oct 16, 2019