Subject Re: [firebird-support] UDF for formatting dates/times
Author Milan Babuskov
Rick Roen wrote:
> Firebird 1.5
> Delphi 7 Pro
>
> I'm confused about why my UDF works when I declare like this:
>
> function fbFormatDateTime( FormatStr: PChar; var Year, Month, Day,
> Hour, Min: Integer ): PChar; cdecl; export;

Not really an answer to your question, but UDFs for date formating
already exist. They are part of rfunc library:

http://rfunc.sourceforge.net

--
Milan Babuskov
http://www.flamerobin.org