SPUtility.CreateDateTimeFromSqlString method
SharePoint 2013
Converts the specified SQL string (in yyyymmdd hh:mm:ss format) to DateTime format.
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Parameters
- sqlTime
- Type: System.String
A string that contains date and time in SQL format.