_OlkTimeControl.ReferenceTime Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns or sets a DateTime that specifies a reference time used for the olTimeStyleTimeDuration style setting on the time control. Read/write.
public:
property DateTime ReferenceTime { DateTime get(); void set(DateTime value); };
public DateTime ReferenceTime { get; set; }
Public Property ReferenceTime As DateTime
Property Value
Remarks
The default value is 12/30/1899.
When Style is olTimeStyleTimeDuration, the date control displays the value of ReferenceTime as the first selectable time value, shows additional intervals (specified by IntervalTime) starting from the ReferenceTime value, and shows the duration of an event.
The default value for ReferenceTime is 30 Dec 1899 12:00 AM. In this case, the time control will display 30 Dec 1899 12:00 AM as the first selectable time. A value of 60 for IntervalTime will mark 30 Dec 1899 1:00 AM as the first interval.
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應