[Lazarus] Retrieve VersionInfo at runtime

Graeme Geldenhuys graemeg.lists at gmail.com
Fri Jan 22 07:35:39 CET 2010


Luiz Americo Pereira Camara wrote:
> 
> If possible i also would like to get the compilation date

const
  cCompileDate = {$I %date%};
  cCompileTime = {$I %time%};

I couldn't find a way of formatting the date and time to my locale (under
Linux, not sure for other platforms). It seems to be hard-coded, so you
will have to parse and format it manually.



Regards,
  - Graeme -

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://opensoft.homeip.net/fpgui/





More information about the Lazarus mailing list