Soap.XSBuiltIns.TXSDate.AsDate

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property AsDate: TDateTime read GetAsDate write SetAsDate;

C++

__property System::TDateTime AsDate = {read=GetAsDate, write=SetAsDate};

Properties

Type Visibility Source Unit Parent
property public
Soap.XSBuiltIns.pas
Soap.XSBuiltIns.hpp
Soap.XSBuiltIns TXSDate

Description

Represents the object's value as a TDateTime value.

Use AsDate to read the value of the TXSDate object into a variable of type TDateTime or set this objects value from a TDateTime value. AsDate handles the mapping between a TDateTime value and the Year, Month, and Day properties. When reading AsDate, the resulting TDateTime value has a time portion of 0. When setting AsDate, the time portion is ignored.

See Also