to_date() function

Convert a string into Qt data type.

Syntax

to_date('string')

Arguments

string - is string in Qt date format.

Example

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