todate() function

Convert a string into Qt data type.

Syntax

todate('string')

Arguments

string - is string in Qt date format.

Example

todate('2012-05-04') → 2012-05-04