Cmdlets for OData

Build 20.0.7587

ServerTimeZone Parameter (Connect-OData Cmdlet)

The timezone by which the server's Edm.DateTime values are represented. The value of this property will affect how Edm.DateTime filters and results are converted between the server and the client machine.

Syntax

Connect-OData -ServerTimeZone string

Remarks

By default, Edm.DateTime values in the server will be assumed to be GMT. If the server is known to represent such values in a specific timezone, then the abbreviation of that timezone can be provided here (i.e. EST). From there, the driver will convert any Edm.DateTime derived filters from the installed machine's local timezone to the one specified for the server. Conversely, similar values returned by the OData server will be converted from the specified timezone to the installed machine's local timezone before being exposed in the result set.

Copyright (c) 2020 CData Software, Inc. - All rights reserved.
Build 20.0.7587