[Lazarus] Retrieve VersionInfo at runtime

Graeme Geldenhuys graemeg.lists at gmail.com
Fri Jan 22 10:39:06 CET 2010

2010/1/22 Luiz Americo Pereira Camara <luizmed at oi.com.br>:
>> 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

I wonder if we should file that as a bug for FPC?

  - Graeme -

fpGUI - a cross-platform Free Pascal GUI toolkit

More information about the Lazarus mailing list