Soap.XSBuiltIns.TXSTime.AsTime
Delphi
property AsTime: TDateTime read GetAsTime write SetAsTime;
C++
__property System::TDateTime AsTime = {read=GetAsTime, write=SetAsTime};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | public | Soap.XSBuiltIns.pas Soap.XSBuiltIns.hpp |
Soap.XSBuiltIns | TXSTime |
Description
Represents the object's value as a TDateTime value.
Use AsTime to read the value of the TXSTime object into a variable of type TDateTime or set its value from a TDateTime value. AsTime handles the mapping between a TDateTime value and the Hour, Minute, and Second properties. When reading AsTime, the resulting TDateTime value is given a data portion of 0. When setting AsTime, the data portion is ignored.
Note: AsTime represents the time using Coordinated Universal Time (UTC). To convert this to a local time, add the offsets specified by HourOffset and MinuteOffset to the hours and minutes.