Icon DateToSQLStr Method

System::UnicodeString __fastcall DateToSQLStr(System::TDateTime
      Value)

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