RAD Studio VCL Reference
|
Represents the value of the date in the date-time field.
property Value: TDateTime;
__property TDateTime Value;
Use Value to read data directly from and write data directly to a date-time field component at runtime. TDateTimeField components store and manipulate their data as TDateTime values. Thus, for date-time fields, the Value property is the same as the AsDateTime property.
var DT: TDateTime; begin DT := Table1DateField.Value; ShowMessage(DateTimeToStr(DT)); end;
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|