Sign in Join
FPDoc Onlineexperiment

DateToCfgStr function

In unit LazConfigStorage

Returns a string representation for TDateTime value using the specified format.

Declaration

pascal
function DateToCfgStr(const Date: TDateTime; 
 const aFormat: string=DateAsCfgStrFormat): string

Arguments

Date

TDateTime value converted in the routine.

aFormat

Format for the date/time value. Default value is defined in the DateAsCfgStrFormat constant and represents the date part of the specified value.

Function result

String with the date and/or time represented using the specified format.

Description

Added in LazUtils version 3.0.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.