RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TXSDate.AsDate Property

Represents the object's value as a TDateTime value.

Pascal
property AsDate: TDateTime;
C++
__property TDateTime AsDate;

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. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!