Convert text into date

how to convert a text into a date ? the date string is like "2015-01-20 08:11:11.0" . I find the todatetime() only accepts 'm/d/y' format. ...

OriginalPostID-135557

OriginalPostID-135557

  Discussion posts and replies are publicly visible