CorDateTimeStatic: TryParse

TryParse

Attempts to parse a string representation of a date into a CorDateTime object.



 Public Function TryParse(
	  ByRef s As String,
	  ByRef Result As CorDateTime ) As Boolean

Parameters

s
[ByRef] String. The date string to be parsed.
Result
[ByRef] CorDateTime. The parameter to place the parsed date into.

Return Values

Boolean -  A boolean indicating if the date was successfully parsed.

Remarks

This method will not throw an exception if the string cannot be parsed.

See Also

Project CorLib Overview

Class CorDateTimeStatic Overview