Soap.XSBuiltIns.TXSCustomDateTime.AsUTCDateTime
Delphi
property AsUTCDateTime: TDateTime read GetAsUTCDateTime write SetAsUTCDateTime;
C++
__property System::TDateTime AsUTCDateTime = {read=GetAsUTCDateTime, write=SetAsUTCDateTime};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | public | Soap.XSBuiltIns.pas Soap.XSBuiltIns.hpp |
Soap.XSBuiltIns | TXSCustomDateTime |
Description
Represents the object's value as a TDateTime value using UTC time.
Use AsUTCDateTime to read the value of the TXSCustomDateTime object into a variable of type TDateTime or set its value from a TDateTime value. AsUTCDateTime handles the mapping between a TDateTime value and the Year, Month, Day, Hour, Minute, and Second values. It also makes an adjustment for the HourOffset and MinuteOffset properties, so that the value of AsUTCDateTime is a Coordinated Universal Time (UTC) value rather than a local time value.
Note: To get or set the value as a local time value ignoring the HourOffset and MinuteOffset properties, use the AsDateTime property instead.