Edit

Share via


DateTimeElement.GetDateWithKind(DateTime) Method

Definition

Returns either the provided date time if the DateTimeKind is specified, otherwise makes ita DateTimeKind.Local

protected DateTime GetDateWithKind (DateTime dt);
member this.GetDateWithKind : DateTime -> DateTime

Parameters

dt
DateTime

The datetime to format

Returns

Applies to