Convert string to date.
string
date
Parameters:
yyyy-MM-dd
Returns:
date - Value as a date
Usages:
toDate( v:string ) : date