ParseDate Method
The ParseDate method of the SPUtility class creates a System.DateTime object from the specified strings containing date and time values.
Parameters
web A Microsoft.SharePoint.SPWeb object that represents the site in which the date and time value is used.
stDate A string that contains the date.
stTime A string that contains the time.
bToUTC true to convert data and time strings into a System.DateTime object in Coordinated Universal Time (UTC) time; false to convert the strings into a System.DateTime object in local time for the site.
Return Value
A System.DateTime object that contains the date and time.
Requirements
Platforms: Microsoft Windows Server 2003
Security: Code Access Security