Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The CreateDateTimeFromSqlString method of the SPUtility class converts the specified SQL string (in yyyymmdd hh:mm:ss format) to DateTime format.
Parameters
sqlTime A string that contains date and time in SQL format.
Return Value
A System.DateTime object that provides the date and time.
Requirements
Platforms: Microsoft Windows Server 2003
Security: Code Access Security