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