Soap.XSBuiltIns.TXSCustomDateTime.AsDateTime
Delphi
property AsDateTime: TDateTime read GetAsDateTime write SetAsDateTime;
C++
__property System::TDateTime AsDateTime = {read=GetAsDateTime, write=SetAsDateTime};
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.
Use AsDateTime to read the value of the TXSCustomDateTime object into a variable of type TDateTime or set its value from a TDateTime value. AsDateTime handles the mapping between a TDateTime value and the Year, Month, Day, Hour, Minute, and Second values.
Note: AsDateTime represents the local date-and-time, without using Coordinated Universal Time (UTC). That is, AsDateTime ignores the HourOffset and MinuteOffset properties. To get or set the value taking the HourOffset and MinuteOffset properties into account, use the AsUTCDateTime property instead.