Icon AnsiStrToDateTime Method

function AnsiStrToDateTime(const Value: String): TDateTime

Usage

Use the AnsiStrToDateTime method to convert a string that contains an ANSI-formatted timestamp value to an actual TDateTime value. All SQL and filter expressions in DBISAM require ANSI-formatted timestamp values, which use the 'yyyy-mm-dd hh:mm:ss.zzz am/pm' format.
Image