BuildMaster SDK Reference
Version:
ParseDate(string dateTimeString) Method
Converts the specified string representation of a date and time to its System.DateTime equivalent
using System.DateTime.TryParse(System.String,System.DateTime@); if the string is not a valid date time, null (Nothing in Visual Basic) is returned.
Syntax
public
static
System.DateTime? ParseDate(string dateTimeString)
Parameters
- dateTimeString
- Type: string
String to try to parse.
Returns
Resulting System.DateTime value if parsing was successful; otherwise null (Nothing in Visual Basic).