TryParse Method
TryParse(string, out HOffsetDateTime)
Converts the string representation of a date and time with timezone to its HOffset
Declaration
public static bool TryParse(string s, out HOffsetDateTime offsetDateTime)
Parameters
string | s | A string containing a date and time with timezone to convert. |
HOffset |
offsetDateTime | When this method returns, contains the HOffset |
Returns
bool |
|