parseWithCulture¶
Parses the specified string in a culture format and returns a DateTimeOffset object.
1 |
|
Parameters¶
string val
string culture
Returns¶
DateTimeOffset object
Remarks¶
If the string is not in a valid format, the method throws an exception.