Table of Contents

Method GetDateTime

Namespace
Sisk.Core.Entity
Assembly
Sisk.Core.dll

GetDateTime(IFormatProvider?)

Gets a DateTime from this StringValue.

public DateTime GetDateTime(IFormatProvider? fmtProvider = null)

Parameters

fmtProvider IFormatProvider

Optional. Specifies the culture-specific format information.

Returns

DateTime

An non-null DateTime value.

Exceptions

NullReferenceException

Thrown when the value stored in this instance is null.

FormatException

Thrown when the value stored in this instance is not parseable to the desired type.