TryToDateTime Method
TryToDateTime(out DateTime)
Converts the value of this HLocalDateTime to its DateTime equivalent.
A return value indicates whether the operation succeeded.
Declaration
public bool TryToDateTime(out DateTime dateTime)
Parameters
DateTime |
dateTime |
When this method returns, contains the DateTime equivalent
to the value represented by this instance, if the conversion succeeded, or the default value if the conversion failed.
|
Returns
bool |
true if the value represented by this instance was converted successfully; otherwise false .
|