Icon DateToAnsiStr Method

function DateToAnsiStr(Value: TDateTime): String

Usage

Use the DateToAnsiStr method to convert a TDateTime value to an ANSI-formatted date value string. All SQL and filter expressions in DBISAM require ANSI-formatted date values, which use the 'yyyy-mm-dd' format.
Image