Method GetDateTime
GetDateTime(IFormatProvider?)
Parses the value contained in this StringValue as a DateTime. Throws an exception if the value couldn't be parsed to the target type.
public DateTime GetDateTime(IFormatProvider? formatProvider = null)
Parameters
formatProviderIFormatProviderThe IFormatProvider to use for parsing. Defaults to null.
Returns
Exceptions
- FormatException
Thrown when the value cannot be parsed to a DateTime.
English
Русский
Português
Español
Deutsch
中文 (简体)
日本語