Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TcxCustomTimeEdit.Time Property

Specifies the currently edited time value.

#Declaration

Delphi
property Time: TTime read; write;

#Property Value

Type
TTime

#Remarks

Use the Time property to get and set a time value for an editor. The Time property specifies the value currently edited by a user. The TimeFormat member of the Properties object defines what portions of the time value are presented by the editor.

The Time and EditValue properties refer to the same date/time value. The difference is that EditValue maintains both the date and time parts of a date/time value, while the Time property maintains only the time part. When you set a value via the Time property, only the time portion is assigned (the date part of the stored date/time value is preserved); when you read the Time property, only the time part is retrieved. If EditValue is assigned or read, the date part is not discarded.

See Also