[Lazarus] Retrieve VersionInfo at runtime

Luiz Americo Pereira Camara luizmed at oi.com.br
Fri Jan 22 10:31:56 CET 2010

Graeme Geldenhuys escreveu:
> 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.


The returned value is also hardcoded under windows. I  need to parse 
using ScanDateTime from DateUtils


More information about the Lazarus mailing list