Icon AnsiStrToDate Method

function AnsiStrToDate(const Value: String): TDateTime

Usage

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