Icon SQLStrToDateTime Method

function SQLStrToDateTime(const Value: String): TDateTime

Call the SQLStrToDateTime method to convert a string that contains an SQL 2003 standard timestamp constant to an actual TDateTime value.All SQL and filter expressions in ElevateDB require standard timestamp constants which use the 'yyyy-mm-dd hh:mm:ss.zzz am/pm' format.

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