Specifies the component’s time value.
|componentObj||One of the user forms components listed in the Applies To section|
The property applies to the following components:
Time property to get or set the time value in the decimal form. This property returns a
TDateTime value whose fractional part is a fraction of a 24 hour day that has elapsed. For example:
|0.0||00:00 (12:00 AM) - Midnight|
|0.125||03:00 (3:00 AM)|
|0.5||12:00 (12:00 PM) - Noon|
|0.770833333333333||18:30 (6:30 PM)|
|0.875||21:00 (9:00 PM)|
Time property is a wrapper for the
EditValue property. The difference is that
EditValue holds both the date and time portions of the component’s
TDateTime value whereas
Time lets you work with the time portion only. Note that when you set the value of the
Time property, the date portion of the component’s value is preserved.
A floating-point value whose fractional part specifies the elapsed time since midnight.