Condividi tramite


NormalizeDateTime Element in Interpretation (BDCMetadata Schema)

Applies to: SharePoint Server 2010

Specifies the rule used to convert the representation of a date and time value to another representation. For example, this rule can specify converting a value represented in Coordinated Universal Time (UTC) into a local time zone.

Namespace: https://schemas.microsoft.com/windows/2007/BusinessDataCatalog

Schema: BDCMetadata

<NormalizeDateTime LobDateTimeMode = "String"> </NormalizeDateTime>

Attributes and Elements

The following sections describe attributes, child elements, and parent elements.

Attributes

Attribute

Description

LobDateTimeMode

Required.

Specifies the conversion to apply.

The following table lists the possible values for this attribute.

Value

Description

UTC

The value that is received from the external system is UTC (Coordinated Universal Time). If the value received is Local, it is converted to UTC. BDC sends UTC to the external system.

Local

The value received from the external system is Local. If the value received from the external system is Local, then it will be converted to UTC. BDC sends Local to the external system.

Unspecified

The value sent by the external system has Unspecified kind. BDC assumes the value is in UTC by overwriting the kind to be UTC. BDC sends UTC values as Unspecified kind to the external system.

Child Elements

None.

Parent Elements

Element

Description

Interpretation Element in TypeDescriptor (BDCMetadata Schema)

An Interpretation element that specifies the rules to apply to the data that is stored in the data structures represented by a TypeDescriptor.