[Overview][Constants][Types][Classes][Procedures and functions][Index] Reference for unit 'LazConfigStorage' (#lazutils)

DateToCfgStr

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

Declaration

Source position: lazconfigstorage.pas line 153

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.

Version info

Added in LazUtils version 3.0.


Version 4.0 Generated 2025-05-03 Home