System.JSON.Readers.TJsonReader.DateTimeZoneHandling

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property DateTimeZoneHandling: TJsonDateTimeZoneHandling read FDateTimeZoneHandling write FDateTimeZoneHandling;

C++

__property System::Json::Types::TJsonDateTimeZoneHandling DateTimeZoneHandling = {read=FDateTimeZoneHandling, write=FDateTimeZoneHandling, nodefault};

Properties

Type Visibility Source Unit Parent
property public
System.JSON.Readers.pas
System.JSON.Readers.hpp
System.JSON.Readers TJsonReader

Description

Indicates how TDateTime values are serialized when reading JSON.

The values for TJsonDateTimeZoneHandling specify the handling for TDateTime values.

The possible values for TJsonDateTimeZoneHandling are (Local, Utc).

  • Local: serializes DateTimes as local dates.
  • Utc: Serializes DateTimes as UTC dates.

See Also