TimeSelector
- Last UpdatedFeb 25, 2021
- 1 minute read
The TimeSelector property is a read-only property that gets the Time Range Picker object used in the Trend Client. You can use it in scripting to shorten the code using its properties and methods.
For the individual properties and methods, see the following properties, or the methods starting at "TimeSelector.GetStartAndEndTimes".
Example 1
dim TRP as object;
TRP = TrendClient1.TimeSelector;
StartDate = TRP.StartDate;
EndDate = TRP.EndDate;
duration = TRP.TimeDuration;
Example 2
dim TRP as object;
TRP = TrendClient1.TimeSelector;
TRP.SetStartAndEndTimes(StartDate, EndDate, Duration);
Remarks
The return value is a TimeRangePicker.