Icon DateToSQLStr Method

function DateToSQLStr(Value: TDateTime): String

Call the DateToSQLStr method to convert a TDateTime value to an SQL 2003 standard date constant string. All SQL and filter expressions in ElevateDB require standard date constants which use the 'yyyy-mm-dd' format.

Please see the Types topic for more information on the data types in ElevateDB and their literal representation.
Image