meta data for this page
  •  

ibec_FormatDateTime

ibec_FormatDateTime formats the timestamp, date or time value given by DateTime using the format given by Format.

Syntax

 function ibec_FormatDateTime(Format: string; DateTime : variant): string;

Example

execute IBEBlock
returns (FDT varchar(100))
as
begin
  FDT = ibec_FormatDateTime('yyyy-mm-dd hh:mm:ss', ibec_now);
  suspend;
end